[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at gemini.archlinux.org
Thu Dec 2 11:45:13 UTC 2021


    Date: Thursday, December 2, 2021 @ 11:45:12
  Author: jelle
Revision: 1061596

Dep of python-dnf

Added:
  libmodulemd/
  libmodulemd/repos/
  libmodulemd/trunk/
  libmodulemd/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: libmodulemd/trunk/PKGBUILD
===================================================================
--- libmodulemd/trunk/PKGBUILD	                        (rev 0)
+++ libmodulemd/trunk/PKGBUILD	2021-12-02 11:45:12 UTC (rev 1061596)
@@ -0,0 +1,33 @@
+# 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=('custom: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