diff options
-rw-r--r-- | user/gcab/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/gcab/APKBUILD b/user/gcab/APKBUILD new file mode 100644 index 000000000..714015182 --- /dev/null +++ b/user/gcab/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=gcab +pkgver=1.6 +pkgrel=0 +pkgdesc="Gnome library for working with cabinet archives" +url="https://gitlab.gnome.org/GNOME/gcab" +arch="all" +license="LGPL-2.1+ AND LGPL-2.0+" +depends="" +makedepends="glib-dev gobject-introspection-dev gtk-doc meson ninja vala" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/gcab/$pkgver/gcab-$pkgver.tar.xz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="26b8dcf47ba98e7cc073a551d1c965c13a72d298c8a4e124823bdbb20fe314c8f687232df9ae824a54d81f96fe7d9ac1a40aed24e51f8706595079cec2c61fc9 gcab-1.6.tar.xz" |