summaryrefslogtreecommitdiff
path: root/pcr/radiusclient-ng/PKGBUILD
blob: 437030401b26ad0902fa896c5358f00ccff987a3 (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
# Contributor: Jonathan Liu <net147@gmail.com>
pkgname=radiusclient-ng
pkgver=0.5.6
pkgrel=1
pkgdesc="Client library and basic utilities for RADIUS AAA"
arch=(i686 x86_64)
url="http://wiki.freeradius.org/Radiusclient"
license=('custom:NetBSD')
depends=('bash')
conflicts=('freeradius-client')
source=(http://download.berlios.de/radiusclient-ng/$pkgname-$pkgver.tar.gz)
md5sums=('6fb7d4d0aefafaee7385831ac46a8e9c')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --sysconfdir=/etc
  make

}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install

  install -D -m644 "$srcdir/$pkgname-$pkgver/COPYRIGHT" \
                   "$pkgdir/usr/share/licenses/${pkgver}/COPYRIGHT"

}

# vim:set ts=2 sw=2 et: