diff options
Diffstat (limited to 'user/libxmlb/APKBUILD')
-rw-r--r-- | user/libxmlb/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libxmlb/APKBUILD b/user/libxmlb/APKBUILD new file mode 100644 index 000000000..d0c12ca2e --- /dev/null +++ b/user/libxmlb/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libxmlb +pkgver=0.3.14 +pkgrel=0 +pkgdesc="Library for working with binary XML blobs" +url="https://github.com/hughsie/libxmlb" +arch="all" +license="LGPL-2.1+" +depends="" +makedepends="cmake meson ninja glib-dev gobject-introspection-dev gtk-doc + xz-dev zstd-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="libxmlb-$pkgver.tar.gz::https://github.com/hughsie/libxmlb/archive/$pkgver.tar.gz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="6c77b9475ca3430270ca29e3d1c5720740c54ff55da76501495da315ea039500e64791689600aa59f3003ff54d030203616ad468169c296bf34434a68e24df50 libxmlb-0.3.14.tar.gz" |