diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
commit | 27d1e194717b1696b3169ad43df027876247b91a (patch) | |
tree | 8416dc507bc2aed5f47588d345abe1ef22a6c60f /community/ristretto | |
parent | 0090cfe5db52bd764631d9b1d55e6e74c7cf2ae8 (diff) | |
download | aports-27d1e194717b1696b3169ad43df027876247b91a.tar.bz2 aports-27d1e194717b1696b3169ad43df027876247b91a.tar.xz |
main/{xfce*} => community/
Move everything xfce to community
Diffstat (limited to 'community/ristretto')
-rw-r--r-- | community/ristretto/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/ristretto/APKBUILD b/community/ristretto/APKBUILD new file mode 100644 index 0000000000..3c8b25444d --- /dev/null +++ b/community/ristretto/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ristretto +pkgver=0.8.2 +pkgrel=0 +pkgdesc="Ristretto is a image viewer for Xfce" +url="http://goodies.xfce.org/projects/applications/ristretto" +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 + " + +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 +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-debug \ + || return 1 + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 +} +sha512sums="bceef420ebb6e5ab89f339cb4d173bbdd3abc09df5f7dd4551e5c8484e226af6a4ef7b131888926027bae901fd05278cf29de296588723142bd6d0bd8afc312e ristretto-0.8.2.tar.bz2" |