diff options
Diffstat (limited to 'community/ristretto/APKBUILD')
-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" |