1 # Contributor: A. Klitzing <andre () incubo () de>
5 pkgdesc="Source Measurement Suite for Java"
7 url="http://www.kclee.de/clemens/java/javancss/"
9 depends=('java-environment>=5')
10 source=(http://www.kclee.de/clemens/java/javancss/$pkgname-$pkgver.zip $pkgname.sh)
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
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')