updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / apslint / PKGBUILD
blob5dcf5c715783f4248ce2ea497eef048463ece920
1 # Maintainer: dchusovitin <dchusovitin@gmail.com>
2 pkgname=apslint
3 pkgver=1.2
4 pkgrel=88
5 pkgdesc="Tool for software vendors to package their SaaS/cloud applications with Application Packaging Standard (APS)"
6 arch=('any')
7 url="http://www.apsstandard.org/"
8 license=('unknown')
9 depends=(java-runtime)
10 source=("http://www.apsstandard.org/r/doc/${pkgname}-${pkgver}-${pkgrel}.zip")
11 sha256sums=('bf0f6b4e86b9a3662ad3b556a22f2114820a59c500d56f4ac9232b7992ff7b87')
13 package() {
14     mkdir -p "$pkgdir"/usr/lib/"$pkgname"
15     mkdir -p "$pkgdir"/usr/bin/
16     mv "$srcdir"/usr/lib/aps/* "$pkgdir"/usr/lib/"$pkgname"
17     cp "$srcdir"/usr/bin/* "$pkgdir"/usr/bin/
18     sed -e 's/\/usr\/lib\/aps\//\/usr\/lib\/apslint\//' -i "$pkgdir"/usr/bin/*