updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / javancss / PKGBUILD
blob2352d42b83f658498e6921b145bd2e4d45dff8b1
1 # Contributor: A. Klitzing <andre () incubo () de>
2 pkgname=javancss
3 pkgver=32.53
4 pkgrel=1
5 pkgdesc="Source Measurement Suite for Java"
6 arch=('any')
7 url="http://www.kclee.de/clemens/java/javancss/"
8 license=('LGPL')
9 depends=('java-environment>=5')
10 source=(http://www.kclee.de/clemens/java/javancss/$pkgname-$pkgver.zip $pkgname.sh)
12 build() {
13   cd "$srcdir/$pkgname-$pkgver"
15   # install profile.d script
16   install -dm755 ${pkgdir}/etc/profile.d || return 1
17   install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/ || return 1
19   # install javancss
20   install -dm755 ${pkgdir}/usr/share/java/${pkgname}/{bin,lib,xslt,icons,doc} || return 1
21   install -m755 bin/javancss ${pkgdir}/usr/share/java/${pkgname}/bin || return 1
22   install -m644 lib/*.jar ${pkgdir}/usr/share/java/${pkgname}/lib || return 1
23   install -m644 doc/* ${pkgdir}/usr/share/java/${pkgname}/doc || return 1
24   install -m644 icons/* ${pkgdir}/usr/share/java/${pkgname}/icons || return 1
25   install -m644 xslt/*.xsl ${pkgdir}/usr/share/java/${pkgname}/xslt || return 1
26   install -dm755 ${pkgdir}/usr/share/java/${pkgname}/xslt/svg || return 1
27   install -m644 xslt/svg/*.xsl ${pkgdir}/usr/share/java/${pkgname}/xslt/svg || return 1
29 md5sums=('0f79a45864f4a55e2b60695f6bb24fc9'
30          '0f487f40eeef685005551b2b6ee4fa91')