summaryrefslogtreecommitdiffstats
path: root/gadmin-samba/PKGBUILD
blob: 9a15f65135e6c2b3a425b91a9a4dcc56b90bb8ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Florian Pritz <f-p@gmx.at>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Marcin Kaczorek <kaczus@karek.pl>

pkgname=gadmin-samba
pkgver=0.2.9
pkgrel=1
pkgdesc="An easy to use GTK+ frontend for the SAMBA file and print server"
url="http://gadmintools.flippedweb.com/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=('9902f6aff533367e5f62caa9fc383d9b'
         '23582cbe1716d3683b96987547fa7724')
sha1sums=('0c4f1c2f6ca0dd71579d661c07ef3abaafc9dc76'
          'a2c7b7d0e5d8080a8adb11d41466253cbc63be43')