core/giflib/PKGBUILD

27 lines
683 B
Bash
Raw Normal View History

2012-12-05 00:39:54 +08:00
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/giflib/
2015-03-06 01:48:19 +08:00
2010-03-14 23:48:48 +08:00
pkgname=giflib
2015-03-06 01:48:19 +08:00
pkgver=5.1.1
2015-03-08 22:40:45 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="A library for reading and writing gif images"
url="http://sourceforge.net/projects/giflib/"
2012-12-05 00:39:54 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('MIT')
2015-03-06 01:48:19 +08:00
depends=('glibc')
makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
2010-03-14 23:48:48 +08:00
source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
2015-03-06 01:48:19 +08:00
md5sums=('1c39333192712788c6568c78a949f13e')
2010-03-14 23:48:48 +08:00
build() {
2015-03-06 01:48:19 +08:00
cd ${pkgname}-${pkgver}
2015-03-08 22:40:45 +08:00
./configure --prefix=/usr
2012-12-05 00:39:54 +08:00
make
}
package() {
2015-03-06 01:48:19 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
2015-03-06 01:48:19 +08:00
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
2010-03-14 23:48:48 +08:00
}