1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="LDAP Classes for Java* enable you to write applications that access, manage, and update information stored in Novell eDirectory or other LDAP-aware directories."
8 url="http://developer.novell.com/wiki/index.php/Jldap"
9 license=('custom:OpenLDAP Public License')
10 depends=('java-runtime')
11 source=("http://jloxim.mimuw.edu.pl/redmine/attachments/download/22")
12 md5sums=('29f44a3dedb5383dda07b88e40d3c759')
15 cd $srcdir/novell-$pkgname-devel-$pkgver-1unix
17 sed -e 's:^LIBPATH.*:LIBPATH="/usr/share/java/jldap":' -e '16,19 d' -i bin/*[^bat]
19 mkdir -p $pkgdir/usr/share/java/jldap/debug || return 1
20 mkdir -p $pkgdir/usr/share/licenses/jldap || return 1
21 mkdir -p $pkgdir/usr/share/doc/jldap || return 1
22 mkdir -p $pkgdir/usr/bin || return 1
24 cp lib/*.jar $pkgdir/usr/share/java/jldap || return 1
25 cp lib_debug/*.jar $pkgdir/usr/share/java/jldap/debug || return 1
26 cp COPYRIGHT LICENSE $pkgdir/usr/share/licenses/jldap || return 1
27 cp -a README.txt SDK* samples $pkgdir/usr/share/doc/jldap || return 1
28 cp bin/*[^bat] $pkgdir/usr/bin || return 1