2 # Contributor: Jakob <dammawit@gmail.com>
6 pkgdesc="A GTK+ graphical user interface for the proftpd FTP server."
9 depends=('gtk2' 'gksu' 'gnome-icon-theme' 'proftpd')
10 makedepends=('pkgconfig')
11 #replaces=('gproftpd' 'gadminproftpd')
12 #conflicts=('gproftpd' 'gadminproftd')
14 url="http://mange.dynalias.org/linux.html"
15 source=(http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz)
16 md5sums=('42bd6efcb06c28910bc632653a28f9c8')
18 cd ${srcdir}/${pkgname}-${pkgver}
19 ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/sbin --localstatedir=/var
21 make DESTDIR=${pkgdir} install
22 mkdir -p ${pkgdir}/usr/share/applications/
23 install -m644 ${srcdir}/${pkgname}-${pkgver}/desktop/gadmin-proftpd.desktop ${pkgdir}/usr/share/applications/
24 chmod 700 ${pkgdir}/etc/gadmin-proftpd