aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-books
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:11:30 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:29:47 +0200
commit378ecca4f6c7d3d76dbe9a6d14927aafe57910d1 (patch)
treec632c6cc7fe80025aa032f831aeb7ee6d181d1b8 /community/gnome-books
parente04284139befd98e9c18b889bfd2e4fcc1e075a3 (diff)
downloadaports-378ecca4f6c7d3d76dbe9a6d14927aafe57910d1.tar.bz2
aports-378ecca4f6c7d3d76dbe9a6d14927aafe57910d1.tar.xz
community/gnome-books: move from testing
Diffstat (limited to 'community/gnome-books')
-rw-r--r--community/gnome-books/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gnome-books/APKBUILD b/community/gnome-books/APKBUILD
new file mode 100644
index 0000000000..117bcebeb5
--- /dev/null
+++ b/community/gnome-books/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-books
+pkgver=3.34.0
+pkgrel=1
+pkgdesc="GNOME Ebook Manager"
+url="https://wiki.gnome.org/Apps/Books"
+arch="all !s390x" # missing gjs
+license="LGPL-2.0-or-later"
+depends="gsettings-desktop-schemas libgepub"
+makedepends="meson gjs-dev evince-dev gnome-desktop-dev gtk+3.0-dev glib-dev
+ gobject-introspection-dev tracker-dev webkit2gtk-dev libgepub-dev"
+checkdepends="appstream-glib desktop-file-utils"
+subpackages="$pkgname-lang $pkgname-doc"
+source="https://download.gnome.org/sources/gnome-books/${pkgver%.*}/gnome-books-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="634dcd7e26ede955e8700335fcd04ab4bd40d083d251846f66a46dac49b7525e011b31de0b60585ed643d04798e472f4fbd69c872cdeed7fa36bcc445ff03016 gnome-books-3.34.0.tar.xz"