Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 1st, 2010  |  syntax: None  |  size: 0.92 KB  |  views: 103  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Jakob <dammawit@gmail.com>
  2. pkgname=gadmin-proftpd
  3. pkgver=0.4.0
  4. pkgrel=1
  5. pkgdesc="A GTK+ graphical user interface for the proftpd FTP server."
  6. arch=(i686 x86_64)
  7. license=('GPL')
  8. depends=('gtk2' 'gksu' 'gnome-icon-theme' 'proftpd')
  9. makedepends=('pkgconfig')
  10. #replaces=('gproftpd' 'gadminproftpd')
  11. #conflicts=('gproftpd' 'gadminproftd')
  12. options=(!libtool)
  13. url="http://mange.dynalias.org/linux.html"
  14. source=(http://mange.dynalias.org/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz)
  15. md5sums=('5f206c513bf3b799b4fd49c39d0b1310')
  16. build() {
  17.   cd ${srcdir}/${pkgname}-${pkgver}
  18.   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/sbin --localstatedir=/var
  19.   make || return 1
  20.   make DESTDIR=${pkgdir} install
  21.   mkdir -p ${pkgdir}/usr/share/applications/
  22.   install -m644 ${srcdir}/${pkgname}-${pkgver}/desktop/gadmin-proftpd.desktop ${pkgdir}/usr/share/applications/
  23.   chmod 700 ${pkgdir}/etc/gadmin-proftpd
  24. }
clone this paste RAW Paste Data