aboutsummaryrefslogtreecommitdiffstats
path: root/community/atril
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-07 21:03:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 08:57:17 +0000
commit7eab7f06ea20f8fb9c9c9e6ccbf2a471610cb031 (patch)
treee30a02ab9eb13f552c0e417b27758c8732c812a0 /community/atril
parent4a72d257286cf2135bca9bc000d29d1c64719408 (diff)
downloadaports-7eab7f06ea20f8fb9c9c9e6ccbf2a471610cb031.tar.bz2
aports-7eab7f06ea20f8fb9c9c9e6ccbf2a471610cb031.tar.xz
community/atril: upgrade to 1.19.0 and modernize APKBUILD
Diffstat (limited to 'community/atril')
-rw-r--r--community/atril/APKBUILD29
1 files changed, 9 insertions, 20 deletions
diff --git a/community/atril/APKBUILD b/community/atril/APKBUILD
index 1fb096f17b..b4bc854113 100644
--- a/community/atril/APKBUILD
+++ b/community/atril/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=atril
-pkgver=1.18.0
-pkgrel=1
+pkgver=1.19.0
+pkgrel=0
pkgdesc="A document viewer for MATE"
url="https://github.com/mate-desktop/atril"
arch="all"
@@ -12,37 +12,26 @@ 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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
--enable-epub \
--with-gtk=2.0 \
- --prefix=/usr || return 1
-
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
}
-sha512sums="71e40faebfac08c60c90e7c919d2274976a5f03e6f9c6882fe81d4736152c14b1baf45da770f357030708d103203a4ffc47387c736c4df8737dfc5caf1fd466a atril-1.18.0.tar.xz"
+sha512sums="1f1b90189665a79542d9ed3ba82174b4cbbc602a14bb5c07a3bfa400657e9c5c108b04a7f76ec5be390cf4b848b6cb8725c01829398e3852b811b8ffa7fe426c atril-1.19.0.tar.xz"