summaryrefslogtreecommitdiff
path: root/community/freeradius-client/PKGBUILD
blob: b7f90a711976351807b24abe68a85da7b52c168c (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
# $Id: PKGBUILD 65200 2012-02-20 10:12:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Kalidarn

pkgname=freeradius-client
pkgver=1.1.6
pkgrel=4
pkgdesc="FreeRADIUS Client Software"
arch=('i686' 'x86_64')
url="http://wiki.freeradius.org/Radiusclient"
license=('BSD')
depends=('sh')
options=(!libtool)
source=(ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2)
md5sums=('2e46564e450ae13aedb70dc133b158ac')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
  make DESTDIR=$pkgdir install
  install -D -m0644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/license
  mv $pkgdir/etc/radiusclient $pkgdir/etc/radiusclient.default
}