summaryrefslogtreecommitdiff
path: root/extra/gif2png/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gif2png/PKGBUILD')
-rw-r--r--extra/gif2png/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/gif2png/PKGBUILD b/extra/gif2png/PKGBUILD
index b2a2ecc36..3c96df76f 100644
--- a/extra/gif2png/PKGBUILD
+++ b/extra/gif2png/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 108710 2011-02-02 17:26:37Z giovanni $
+# $Id: PKGBUILD 143743 2011-11-28 19:26:51Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: eric <eric@archlinux.org>
# Contributor: Andrew Rose <ody@netrux.com>
pkgname=gif2png
pkgver=2.5.4
-pkgrel=1
+pkgrel=2
pkgdesc="A GIF to PNG image format converter"
arch=('i686' 'x86_64')
url="http://www.catb.org/~esr/gif2png/"
@@ -17,14 +17,16 @@ md5sums=('d63ea3fc6b6119589e8d4d6fead30df9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
sed -i 's#env python#env python2#' web2png
./configure --prefix=/usr \
- --mandir=/usr/share/man || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
+
+ make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}