summaryrefslogtreecommitdiff
path: root/community/delegate/PKGBUILD
blob: cd9621cffda76987cd60a366aebdc2b09f509c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 111221 2014-05-15 14:30:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=delegate
pkgver=9.9.8
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=('db78957f3a8183a4df6cd047984d5900')

build() {
  cd $srcdir/$pkgname$pkgver
  make ADMIN="root@localhost"
}

package() {
  cd $srcdir/$pkgname$pkgver

  install -D -m0755 src/delegated $pkgdir/usr/bin/delegated

  install -D -m0755 subin/dgbind $pkgdir/usr/bin/dgbind
  install -D -m0755 subin/dgchroot $pkgdir/usr/bin/dgchroot
  install -D -m0755 subin/dgcpnod $pkgdir/usr/bin/dgcpnod
  install -D -m0755 subin/dgpam $pkgdir/usr/bin/dgpam

  install -D -m0644 doc/Manual.htm $pkgdir/usr/share/delegate/manual.htm
  install -D -m0644 doc/tutor-en.htm $pkgdir/usr/share/delegate/tutor-en.htm
}