# $Id: PKGBUILD 99743 2013-10-30 23:26:39Z allan $ # Maintainer: Sergej Pupykin # Contributor: Kalidarn pkgname=freeradius-client pkgver=1.1.6 pkgrel=5 pkgdesc="FreeRADIUS Client Software" arch=('i686' 'x86_64') url="http://wiki.freeradius.org/Radiusclient" license=('BSD') depends=('sh') source=(ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2) md5sums=('2e46564e450ae13aedb70dc133b158ac') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m0644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/license mv $pkgdir/etc/radiusclient $pkgdir/etc/radiusclient.default }