updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / alpng / PKGBUILD
blob3486f7a78b73a9965756d3bd6b793bc812f3b7d6
1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=alpng
3 pkgver=1.3
4 pkgrel=4
5 pkgdesc="Library for loading PNG files for the Allegro library."
6 arch=('i686' 'x86_64')
7 url="http://alpng.sourceforge.net/"
8 license=('zlib')
9 depends=('allegro')
10 makedepends=('gcc' 'make' 'pkg-config')
11 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}${pkgver/./}.tar.gz)
12 md5sums=('e1e4cf2771663a43c065e04ce5f4efd9')
14 build() {
15   cd ${srcdir}
17   ./configure
18   make || return 1
21 package() {
22   cd ${srcdir}
23   install -d ${pkgdir}/usr/{lib,include} || return 1
25   install -m644 lib${pkgname}.a ${pkgdir}/usr/lib/ || return 1
26   install -m644 src/${pkgname}.h ${pkgdir}/usr/include/ || return 1