diff options
Diffstat (limited to 'community/gif2png')
-rw-r--r-- | community/gif2png/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gif2png/PKGBUILD b/community/gif2png/PKGBUILD new file mode 100644 index 000000000..2f22833c9 --- /dev/null +++ b/community/gif2png/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 102199 2013-12-06 13:12:30Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: eric <eric@archlinux.org> +# Contributor: Andrew Rose <ody@netrux.com> + +pkgname=gif2png +pkgver=2.5.8 +pkgrel=2 +pkgdesc="A GIF to PNG image format converter" +arch=('i686' 'x86_64') +url="http://www.catb.org/~esr/gif2png/" +license=('ZLIB') +depends=('libpng') +optdepends=('python2: for using web2png') +source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('0f5caeeca561ade7f267ef3f2a9944b4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i 's#env python#env python2#' web2png + + ./configure --prefix=/usr \ + --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} |