updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / jallib / PKGBUILD
blobe0db175be4b60bfa886c1a189b39f8293a28382a
1 # Maintainer: Matias De la Puente <mfpuente.ar@gmail.com>
2 pkgname=jallib
3 pkgver=0.7.1
4 pkgrel=1
5 pkgdesc="JAL V2 libraries"
6 arch=('any')
7 url="http://code.google.com/p/jallib/"
8 license=('BSD' 'ZLIB')
9 depends=('jalv2')
10 options=(!strip)
11 source=(http://jallib.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
12 sha256sums=('1995fc7dd8e6da19ed8f4d8df3cd2f7c54b2616c41f4b453b36bb547d1a30447')
14 package() {
15   cd "${srcdir}/${pkgname}-${pkgver}"
16   
17   # install libraries
18   install -dm755 "${pkgdir}/usr/share/${pkgname}/lib"
19   install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/lib/" lib/*
20   
21   # install doc
22   install -dm755 "${pkgdir}/usr/share/${pkgname}/doc/html"
23   install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/doc/html/" doc/html/*
24   
25   # install samples
26   install -dm755 "${pkgdir}/usr/share/${pkgname}/sample"
27   install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/sample/" sample/*
28   
29   # install licenses
30   install -Dm644 LICENSE.bsd "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.bsd"
31   install -Dm644 LICENSE.zlib "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.zlib"