updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gadmin-proftpd / PKGBUILD
blob176e8b8cad94e7a8e4d8800be56266326c01ff01
1 # Contributor: Morfeo
2 # Contributor: Jakob <dammawit@gmail.com>
3 pkgname=gadmin-proftpd
4 pkgver=0.4.3
5 pkgrel=1
6 pkgdesc="A GTK+ graphical user interface for the proftpd FTP server."
7 arch=(i686 x86_64)
8 license=('GPL')
9 depends=('gtk2' 'gksu' 'gnome-icon-theme' 'proftpd')
10 makedepends=('pkgconfig')
11 #replaces=('gproftpd' 'gadminproftpd')
12 #conflicts=('gproftpd' 'gadminproftd')
13 options=(!libtool)
14 url="http://mange.dynalias.org/linux.html"
15 source=(http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz)
16 md5sums=('42bd6efcb06c28910bc632653a28f9c8')
17 build() {
18   cd ${srcdir}/${pkgname}-${pkgver}
19   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/sbin --localstatedir=/var
20   make || return 1
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