diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 05:24:44 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 05:24:44 -0800 |
commit | e7ccf731d2791df121d9cb301cad2a698f5e7c9a (patch) | |
tree | 96ff557a9eed565438d355f37f85805183936f14 | |
parent | f0027931d8c3c7199a4ab8aa6838770f33a92b5f (diff) | |
download | packages-e7ccf731d2791df121d9cb301cad2a698f5e7c9a.tar.gz packages-e7ccf731d2791df121d9cb301cad2a698f5e7c9a.tar.bz2 packages-e7ccf731d2791df121d9cb301cad2a698f5e7c9a.tar.xz packages-e7ccf731d2791df121d9cb301cad2a698f5e7c9a.zip |
user/libxmlb: new package
-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" |