aboutsummaryrefslogtreecommitdiffstats
path: root/main/ristretto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ristretto/APKBUILD')
-rw-r--r--main/ristretto/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD
index 020137e62a..b99a34a219 100644
--- a/main/ristretto/APKBUILD
+++ b/main/ristretto/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ristretto
pkgver=0.0.93
-pkgrel=0
+pkgrel=1
pkgdesc="Ristretto is a image viewer for Xfce"
url="http://goodies.xfce.org/projects/applications/ristretto"
arch="all"
@@ -9,7 +9,18 @@ license="GPL-2"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="libxfce4ui-dev dbus-glib-dev libexif-dev thunar-dev"
install=
-source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2"
+source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2
+ ristretto-0.0.93_memleak-fix.patch
+ "
+
+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
@@ -25,4 +36,5 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="74dcdf0fcbf7039852b817732a91fb6c ristretto-0.0.93.tar.bz2"
+md5sums="74dcdf0fcbf7039852b817732a91fb6c ristretto-0.0.93.tar.bz2
+8cf982058356e06bcdcb5d41c91856aa ristretto-0.0.93_memleak-fix.patch"