updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jallib / PKGBUILD
blob0f50464c6a06868cfb519f8bb79dbb9ee74b4574
1 # Maintainer: Matias De la Puente <mfpuente.ar@gmail.com>
2 pkgname=jallib
3 pkgver=0.8.0
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}.zip)
12 sha256sums=('53e33e1b0be2fad93afae254127eb91763a66774d84c30a566f7e4faf6859419')
14 package() {
15   cd "${srcdir}"
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"