mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
829 B
Bash
24 lines
829 B
Bash
# $Id: PKGBUILD 33906 2009-04-05 23:05:30Z eric $
|
|
# Maintainer: eric <eric@archlinux.org>
|
|
# Contributor: Andrew Rose <ody@netrux.com>
|
|
|
|
pkgname=gif2png
|
|
pkgver=2.5.1
|
|
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=('python: for using web2png')
|
|
source=(http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz gif2png-2.5.1-libpng.patch)
|
|
md5sums=('85bb8ee345fc41c218de19dda0164806' '0febd590ff529fbbb8be040b057349b2')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -p2 < ../gif2png-2.5.1-libpng.patch || return 1
|
|
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|