PKGBUILDs/community/freeradius-client/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
741 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Kalidarn
pkgname=freeradius-client
pkgver=1.1.6
pkgrel=2
pkgdesc="FreeRADIUS Client Software"
arch=('i686' 'x86_64')
url="http://wiki.freeradius.org/Radiusclient"
license=('BSD')
source=(ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2)
md5sums=('2e46564e450ae13aedb70dc133b158ac')
build() {
cd $startdir/src/$pkgname-$pkgver
install -D -m0644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/license || return 1
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=$startdir/pkg install || return 1
mv $startdir/pkg/etc/radiusclient $startdir/pkg/etc/radiusclient.default
}