diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-15 01:04:23 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-15 01:04:23 +0000 |
commit | 167d24a27bcbb3af62cef1843469a3191f4eb45e (patch) | |
tree | 89cbb28c1119f96b58ee20ab0dae76e5a2283fd8 /user/libgxps/APKBUILD | |
parent | 339b0db6a0fd6e3776ba496d803aa34c5d1fbb59 (diff) | |
download | packages-167d24a27bcbb3af62cef1843469a3191f4eb45e.tar.gz packages-167d24a27bcbb3af62cef1843469a3191f4eb45e.tar.bz2 packages-167d24a27bcbb3af62cef1843469a3191f4eb45e.tar.xz packages-167d24a27bcbb3af62cef1843469a3191f4eb45e.zip |
user/libgxps: new package
Diffstat (limited to 'user/libgxps/APKBUILD')
-rw-r--r-- | user/libgxps/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libgxps/APKBUILD b/user/libgxps/APKBUILD new file mode 100644 index 000000000..5deb16d48 --- /dev/null +++ b/user/libgxps/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libgxps +pkgver=0.3.1 +pkgrel=0 +pkgdesc="GObject-based library for manipulating and rendering XPS documents" +url="https://wiki.gnome.org/Projects/libgxps" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="glib-dev" +makedepends="$depends_dev meson cairo-dev freetype-dev gobject-introspection-dev + gtk+3.0-dev lcms2-dev libarchive-dev libjpeg-turbo-dev ninja tiff-dev" +subpackages="$pkgname-dev" +source="https://ftp.gnome.org/pub/gnome/sources/libgxps/0.3/libgxps-$pkgver.tar.xz" + +build() { + cd "$builddir" + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + cd "$builddir" + ninja -C output test +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239 libgxps-0.3.1.tar.xz" |