blob: dc9f5298974a81dd5f00eb2361ee36bf8be79bb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-books
pkgver=3.34.0
pkgrel=5
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 librsvg"
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=plain \
. 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"
|