updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / png++ / PKGBUILD
blob5f0131e8b4805d8b129116d7a3ad6e8a77c85716
1 # Maintainer: Onni R. <onnir at iki dot fi>
2 pkgname=png++
3 pkgver=0.2.5
4 pkgrel=1
5 license=('custom')
6 pkgdesc="a C++ wrapper for libpng"
7 arch=('i686' 'x86_64')
8 url="http://savannah.nongnu.org/projects/pngpp/"
9 depends=('libpng')
10 source=(http://download.savannah.gnu.org/releases/pngpp/$pkgname-$pkgver.tar.gz)
11 md5sums=('beb02ba7daddcf847e1617e75b7af567')
13 build() {
14   mkdir -p "${pkgdir}/usr/include" || return 1
15   mkdir -p "${pkgdir}/usr/share/doc" || return 1
16   mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" || return 1
17   cd $srcdir/$pkgname-$pkgver
18   make docs || return 1
19   make install PREFIX="${pkgdir}/usr" || return 1
22 package() {
23   cd $srcdir/$pkgname-$pkgver
24   cp -f COPYING ${pkgdir}/usr/share/licenses/$pkgname