updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / system-config-samba / PKGBUILD
blob1e1aa8c33dbb5b7b90bda3eacf818dfe5fbd9f5a
1 # Maintainer: Boudhayan Gupta <me at BaloneyGeek dot com>
2 pkgname=system-config-samba
3 pkgver=1.2.93
4 pkgrel=2
5 pkgdesc="The Samba configuration tool by Red Hat"
6 url="http://fedoraproject.org/wiki/SystemConfig/samba"
7 arch=('x86_64' 'i686')
8 license=('GPLv2')
9 depends=('samba' 'libuser' 'gksu')
10 optdepends=()
11 makedepends=('intltool' 'gnome-common' 'gnome-doc-utils')
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
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"
19         "${pkgname}.8")
20 md5sums=('cc497a5348fd9752c335f8b972485643'
21          '4285494ecac5f4ed34bd515e40aa057c'
22          '10b113c872be55a88f9837dc18a23163'
23          '5abeeeea50f3d57bf14f0125748dea4f'
24          )
26 build() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
28   bzcat ../${pkgname}-archlinux.patch.bz2 | patch -p1
29   make
30   cd "${srcdir}/${pkgname}-docs-1.0.9/"
31   make  
34 package() {
35   cd "${srcdir}/${pkgname}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
37   cd "${srcdir}/${pkgname}-docs-1.0.9/"
38   make DESTDIR="${pkgdir}" install
39   cd "${srcdir}"
40   install -Dm644 ${pkgname}.8 "$pkgdir/usr/share/man/man8/${pkgname}.8"