diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-30 17:46:07 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-30 17:46:07 +0000 |
commit | 9669e432d5efd5e507fc69419bc7c89fe9f68175 (patch) | |
tree | 86277e696f479eec87a5d634f64aec1a7e7f5ca9 /community/ristretto | |
parent | bbfbabf7daf1cc35de2ee9c72699d8c9bf4c9025 (diff) | |
download | aports-9669e432d5efd5e507fc69419bc7c89fe9f68175.tar.bz2 aports-9669e432d5efd5e507fc69419bc7c89fe9f68175.tar.xz |
community/ristretto: upgrade to 0.8.3 and modernize
Diffstat (limited to 'community/ristretto')
-rw-r--r-- | community/ristretto/APKBUILD | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/community/ristretto/APKBUILD b/community/ristretto/APKBUILD index 3c8b25444d..e347a1323a 100644 --- a/community/ristretto/APKBUILD +++ b/community/ristretto/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ristretto -pkgver=0.8.2 +pkgver=0.8.3 pkgrel=0 pkgdesc="Ristretto is a image viewer for Xfce" url="http://goodies.xfce.org/projects/applications/ristretto" @@ -8,35 +8,25 @@ arch="all" license="GPL-2.0" depends="desktop-file-utils hicolor-icon-theme" makedepends="libxfce4ui-dev dbus-glib-dev libexif-dev thunar-dev" -install= subpackages="$pkgname-lang" -source="http://archive.xfce.org/src/apps/ristretto/${pkgver%.*}/ristretto-$pkgver.tar.bz2 - " +source="http://archive.xfce.org/src/apps/ristretto/${pkgver%.*}/ristretto-$pkgver.tar.bz2" -prepare() { - cd "$srcdir"/$pkgname-$pkgver - 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 "$srcdir"/$pkgname-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-debug \ - || return 1 + --disable-debug make } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="bceef420ebb6e5ab89f339cb4d173bbdd3abc09df5f7dd4551e5c8484e226af6a4ef7b131888926027bae901fd05278cf29de296588723142bd6d0bd8afc312e ristretto-0.8.2.tar.bz2" +sha512sums="c43b48dfdf9e8ed0ea3c5f2bbac1c837881aa6a467c78377b6f53dcce030b5a3b8134a7b8cbad1008ae758295953fde50a916c284e54e8c5490158e776554514 ristretto-0.8.3.tar.bz2" |