# Contributor: Florian Pritz # Contributor: Andrea Scarpino # Contributor: Marcin Kaczorek pkgname=gadmin-samba pkgver=0.2.7 pkgrel=1 pkgdesc="An easy to use GTK+ frontend for the SAMBA file and print server" url="http://85.214.17.244/gadmintools/index.php?option=com_content&task=view&id=16&Itemid=30" arch=('i686' 'x86_64') license=('GPL') depends=('gtk2' 'samba') replaces=('gsambad') install=${pkgname}.install source=("http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz" "makefile.patch") options=(!emptydirs) build() { cd ${srcdir}/${pkgname}-${pkgver} patch -p0 < ${srcdir}/makefile.patch ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --sbindir=/usr/sbin make || return 1 make DESTDIR=${pkgdir} install install -D -m644 desktop/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop } md5sums=('3cbe8828c766cae8651b7059367b3f02' '23582cbe1716d3683b96987547fa7724') sha256sums=('e791c51a110a8861f658d150913a6db46c8f9b931756423482aa654614479521' '665d4aa296b0d1a0dc5b469b37383b169262c8cdcb31bcc5785908dc0cac9397')