blob: f40fe2a78e1862e43ba05e687e5a05635fa863e6 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgepub
pkgver=0.6.0
pkgrel=1
pkgdesc="A GObject based library for handling epub documents"
url="https://gitlab.gnome.org/GNOME/libgepub"
arch="all"
license="LGPL-2.1-or-later"
makedepends="meson webkit2gtk-dev libsoup-dev glib-dev libxml2-dev libarchive-dev
gobject-introspection-dev"
checkdepends="gtk+3.0-dev"
options="!check" # Need an external epub file
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libgepub/${pkgver%.*}/libgepub-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=debugoptimized \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="90c8df55c2465ab3c44092a772d568b412cea60f20d0f32d33b124d70ece1655dcf53d87c5effa2c494bf103c2e51d31192edf0ad71b46fa61471f94b5768c99 libgepub-0.6.0.tar.xz"
|