summaryrefslogtreecommitdiff
path: root/community/gadmin-samba/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gadmin-samba/PKGBUILD')
-rw-r--r--community/gadmin-samba/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/gadmin-samba/PKGBUILD b/community/gadmin-samba/PKGBUILD
new file mode 100644
index 000000000..316fb2624
--- /dev/null
+++ b/community/gadmin-samba/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Florian Pritz <flo@xinu.at>
+# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
+# Contributor: Marcin Kaczorek <kaczus@karek.pl>
+
+pkgname=gadmin-samba
+pkgver=0.3.2
+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=gadmin-samba.install
+source=("http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+options=(!emptydirs)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --sbindir=/usr/sbin
+ make
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 desktop/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+}
+md5sums=('14e2ca42b4826c3d87492965d310e631')