summaryrefslogtreecommitdiff
path: root/community/sxiv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sxiv/PKGBUILD')
-rw-r--r--community/sxiv/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD
index dbe4d6937..36b323de1 100644
--- a/community/sxiv/PKGBUILD
+++ b/community/sxiv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110167 2014-04-25 15:45:41Z bpiotrowski $
+# $Id: PKGBUILD 113169 2014-06-14 19:22:23Z andyrtr $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
@@ -6,22 +6,29 @@
pkgname=sxiv
pkgver=1.2
-pkgrel=1
+pkgrel=2
pkgdesc='Simple X Image Viewer'
arch=('i686' 'x86_64')
license=('GPL2')
install=sxiv.install
url='https://github.com/muennich/sxiv'
depends=('imlib2' 'desktop-file-utils')
-source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz)
-md5sums=('9b79d3c70693d9abbc66295cf6f281a0')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
+ giflib-5.1.0.patch)
+md5sums=('9b79d3c70693d9abbc66295cf6f281a0'
+ '98a6c832655b90e57ff137df41a1fb90')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../giflib-5.1.0.patch
+}
build() {
- make -C sxiv-$pkgver
+ make -C $pkgname-$pkgver
}
package() {
- cd sxiv-$pkgver
+ cd $pkgname-$pkgver
make PREFIX="$pkgdir"/usr install
install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
}