updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ldapbrowser / PKGBUILD
blob0adec7702306af924a51b5e3ccb1a6ad8bc198c2
1 # Contributor: Marco A Rojas <marquicus at gmail dot com>
3 pkgname=ldapbrowser
4 pkgver=2.8.2
5 pkgrel=1
6 pkgdesc="Popular LDAP Browser/Editor by Jarek Gawor"
7 url="http://www.novell.com/communities/node/8652/gawors-excellent-ldap-browsereditor-v282"
8 license=('custom')
9 depends=('java-runtime' 'bash' 'unzip')
10 arch=('any')
11 options=('!strip') 
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')
17 package() {
18   cd $pkgdir
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