blob: 3e40670bcb7ac7c022ae6d04b7016bbfd4567a6d (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=atril
pkgver=1.14.1
pkgrel=0
pkgdesc="A document viewer for MATE"
url="https://github.com/mate-desktop/atril"
arch="all"
license="GPLv2"
depends="mate-icon-theme abiword-plugin-epub"
depends_dev=""
makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-desktop-dev
dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev
poppler-dev tiff-dev itstool libxml2-utils libxml2-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
--enable-epub \
--with-gtk=2.0 \
--prefix=/usr || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums="f148bc40bc6296ae2daeb36acb71ea3a atril-1.14.1.tar.xz"
sha256sums="0d4f411f92e0a8156151d76f36fbc580f47cd070586f5aa8676a02077175b1ec atril-1.14.1.tar.xz"
sha512sums="6ca588cfb6be587b85d2f27d2c19aa99c929531a015804e5bd390e9785d859e7f4cd748d42d5833be1af1393fb94c9edc279dc686d3baf4b3a4ee17d7559c173 atril-1.14.1.tar.xz"
|