PKGBUILDs/community/delegate/PKGBUILD

32 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=delegate
pkgver=9.9.3
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=('16b49244d04490eb48b70e61efb24244')
build() {
cd $startdir/src/$pkgname$pkgver
make ADMIN="root@localhost" || return 1
install -D -m0755 src/delegated $startdir/pkg/usr/bin/delegated || return 1
install -D -m0755 subin/dgbind $startdir/pkg/usr/sbin/dgbind || return 1
install -D -m0755 subin/dgchroot $startdir/pkg/usr/sbin/dgchroot || return 1
install -D -m0755 subin/dgcpnod $startdir/pkg/usr/sbin/dgcpnod || return 1
install -D -m0755 subin/dgpam $startdir/pkg/usr/sbin/dgpam || return 1
install -D -m0644 doc/Manual.htm $startdir/pkg/usr/share/delegate/manual.htm || return 1
install -D -m0644 doc/tutor-en.htm $startdir/pkg/usr/share/delegate/tutor-en.htm || return 1
}