summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-22 22:33:45 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-22 22:33:45 -0500
commit78ae1a142fe3d21e960bc62f48b93c92f63ef426 (patch)
tree5b6e8cbb4ae00432e382b5fafa46d4841f1e5b27
parent7e92dca34f9c38a477c72cdd8d9e2da58966317a (diff)
downloadpackages-78ae1a142fe3d21e960bc62f48b93c92f63ef426.tar.gz
packages-78ae1a142fe3d21e960bc62f48b93c92f63ef426.tar.bz2
packages-78ae1a142fe3d21e960bc62f48b93c92f63ef426.tar.xz
packages-78ae1a142fe3d21e960bc62f48b93c92f63ef426.zip
user/atril: new package
-rw-r--r--user/atril/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/atril/APKBUILD b/user/atril/APKBUILD
new file mode 100644
index 000000000..4d2996967
--- /dev/null
+++ b/user/atril/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=atril
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="Document viewer for the MATE desktop environment"
+url="https://mate-desktop.org"
+arch="all"
+options="!check" # testsuite requires X and py3-dogtail
+license="GPL-2.0+ AND Afmparse AND Info-ZIP AND libtiff AND LGPL-2.0+ AND MIT AND LGPL-2.1+"
+depends=""
+makedepends="caja-dev djvulibre-dev gobject-introspection-dev gtk+3.0-dev
+ intltool itstool libgxps-dev libsecret-dev libsm-dev libspectre-dev
+ libxml2-dev libxml2-utils poppler-dev python3 tiff-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://pub.mate-desktop.org/releases/1.22/atril-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-introspection \
+ --enable-pixbuf \
+ --enable-comics \
+ --enable-xps
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="bf940178647c348fd78e828bcb3a55c4ff6195d4020bf198ae5ba4a96e2fe582f7e30fb9d4cde4143e82ae783358373d3a9fd68413295586da9fe1b374e2f034 atril-1.22.0.tar.xz"