1 # Maintainer: Emile Pesik <ristridin [at] gmail [dot] com>
2 # Contributor: Martin Imobersteg <imm [at] gmx [dot] ch>
6 pkgdesc="A set of perl scripts designed to manage user and group accounts stored in an LDAP directory."
8 url="https://gna.org/projects/smbldap-tools/"
10 depends=('samba' 'openldap' 'perl-digest-sha1' \
11 'perl-unicode-maputf8' 'perl-crypt-smbhash' \
12 'perl-ldap' 'perl-io-socket-ssl')
13 source=("http://download.gna.org/smbldap-tools/packages/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('88c371fd16193a03ed0f98fd29f19515')
16 cd $srcdir/${pkgname}-${pkgver}
17 install -D -m444 smbldap_tools.pm $pkgdir/usr/share/perl5/vendor_perl/smbldap_tools.pm
19 mkdir -p $pkgdir/usr/bin
20 for prog in `ls smbldap-group* smbldap-user* smbldap-p*`
22 install $prog $pkgdir/usr/bin
25 install -D -m644 smbldap.conf $pkgdir/etc/smbldap-tools/smbldap.conf
26 install -D -m644 smbldap_bind.conf $pkgdir/etc/smbldap-tools/smbldap_bind.conf