1 # Maintainer: Boudhayan Gupta <me at BaloneyGeek dot com>
2 pkgname=system-config-samba
5 pkgdesc="The Samba configuration tool by Red Hat"
6 url="http://fedoraproject.org/wiki/SystemConfig/samba"
9 depends=('samba' 'libuser' 'gksu')
11 makedepends=('intltool' 'gnome-common' 'gnome-doc-utils')
16 source=("https://fedorahosted.org/released/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
17 "https://fedorahosted.org/released/${pkgname}-docs/${pkgname}-docs-1.0.9.tar.bz2"
18 "${pkgname}-archlinux.patch.bz2"
20 md5sums=('cc497a5348fd9752c335f8b972485643'
21 '4285494ecac5f4ed34bd515e40aa057c'
22 '10b113c872be55a88f9837dc18a23163'
23 '5abeeeea50f3d57bf14f0125748dea4f'
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 bzcat ../${pkgname}-archlinux.patch.bz2 | patch -p1
30 cd "${srcdir}/${pkgname}-docs-1.0.9/"
35 cd "${srcdir}/${pkgname}-${pkgver}"
36 make DESTDIR="${pkgdir}" install
37 cd "${srcdir}/${pkgname}-docs-1.0.9/"
38 make DESTDIR="${pkgdir}" install
40 install -Dm644 ${pkgname}.8 "$pkgdir/usr/share/man/man8/${pkgname}.8"