1 # Contributor: Marco A Rojas <marquicus at gmail dot com>
6 pkgdesc="Popular LDAP Browser/Editor by Jarek Gawor"
7 url="http://www.novell.com/communities/node/8652/gawors-excellent-ldap-browsereditor-v282"
9 depends=('java-runtime' 'bash' 'unzip')
12 source=(http://www.novell.com/communities/files/Gawor_${pkgname}_${pkgver//./}.zip lbe.patch)
13 noextract=(Gawor_${pkgname}_${pkgver//./}.zip)
14 md5sums=('6f50f3d02239057188d55b837db829b8'
15 'a5860d8b8b02cc8d3f861a82bfc05f8b')
20 install -dm0755 ${pkgdir}/opt/${pkgname}/{,ldif}
21 unzip -q ${srcdir}/Gawor_${pkgname}_${pkgver//./}.zip -d opt/${pkgname}
23 rm opt/${pkgname}/lbe.{old*,bat}
24 patch -p0 < ${srcdir}/lbe.patch
26 install -Dm755 ${pkgdir}/opt/${pkgname}/lbe.sh $pkgdir/usr/bin/lbe
27 rm ${pkgdir}/opt/${pkgname}/lbe.sh