[arch-commits] Commit in libmodulemd/repos (2 files)
Jelle van der Waa
jelle at gemini.archlinux.org
Thu Dec 16 10:33:03 UTC 2021
Date: Thursday, December 16, 2021 @ 10:33:03
Author: jelle
Revision: 1074234
archrelease: copy trunk to community-x86_64
Added:
libmodulemd/repos/community-x86_64/
libmodulemd/repos/community-x86_64/PKGBUILD
(from rev 1074233, libmodulemd/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: libmodulemd/repos/community-x86_64/PKGBUILD (from rev 1074233, libmodulemd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-12-16 10:33:03 UTC (rev 1074234)
@@ -0,0 +1,34 @@
+# Contributor: larchunix
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=libmodulemd
+pkgver=2.13.0
+pkgrel=1
+pkgdesc="C Library for manipulating module metadata files"
+arch=('x86_64')
+url="https://github.com/fedora-modularity/$pkgname"
+license=('MIT')
+depends=('file' 'glib2' 'libyaml' 'rpm-tools')
+makedepends=('gobject-introspection' 'gtk-doc' 'help2man' 'meson' 'python-gobject')
+optdepends=('python-gobject: for python bindings')
+source=("$url/releases/download/$pkgver/${pkgname#lib}-$pkgver.tar.xz")
+sha256sums=('cc72ce5ff48ce9a4f6c9b6606ccf5a0e75c59c35449668cfe985722ef28f9cbc')
+
+build() {
+ cd ${pkgname#lib}-$pkgver
+ arch-meson build
+ ninja -C build
+}
+
+check() {
+ cd ${pkgname#lib}-$pkgver
+ ninja -C build test
+}
+
+package() {
+ cd ${pkgname#lib}-$pkgver
+ DESTDIR="$pkgdir/" ninja -C build install
+
+ install -Dp -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dp -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}
More information about the arch-commits
mailing list