summaryrefslogtreecommitdiff
path: root/community/delegate/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/delegate/PKGBUILD')
-rw-r--r--community/delegate/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/delegate/PKGBUILD b/community/delegate/PKGBUILD
new file mode 100644
index 000000000..450698d29
--- /dev/null
+++ b/community/delegate/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 18941 2010-06-17 16:25:05Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=delegate
+pkgver=9.9.7
+pkgrel=1
+pkgdesc="Caching and converting multyprotocol proxy. For example, you may use it as NNTP web interface"
+arch=('i686' 'x86_64')
+url="http://www.delegate.org/"
+license=('GPL')
+depends=('pam')
+options=(!strip)
+install=delegate.install
+source=(ftp://ftp:ps790809%40inbox%2Eru@ftp.delegate.org/pub/DeleGate/delegate$pkgver.tar.gz)
+md5sums=('86c833e95cd16a54d54fa3c7e4ab7929')
+
+build() {
+ cd $srcdir/$pkgname$pkgver
+ make ADMIN="root@localhost" || return 1
+
+ install -D -m0755 src/delegated $pkgdir/usr/bin/delegated || return 1
+
+ install -D -m0755 subin/dgbind $pkgdir/usr/sbin/dgbind || return 1
+ install -D -m0755 subin/dgchroot $pkgdir/usr/sbin/dgchroot || return 1
+ install -D -m0755 subin/dgcpnod $pkgdir/usr/sbin/dgcpnod || return 1
+ install -D -m0755 subin/dgpam $pkgdir/usr/sbin/dgpam || return 1
+
+ install -D -m0644 doc/Manual.htm $pkgdir/usr/share/delegate/manual.htm || return 1
+ install -D -m0644 doc/tutor-en.htm $pkgdir/usr/share/delegate/tutor-en.htm || return 1
+}