summaryrefslogtreecommitdiff
path: root/community/freeradius-client/PKGBUILD
blob: fb5feaa16890185fd57f145df023639f34d78543 (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
# $Id: PKGBUILD 18123 2010-05-31 11:15:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Kalidarn

pkgname=freeradius-client
pkgver=1.1.6
pkgrel=3
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

  install -D -m0644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/license || return 1

  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$pkgdir install || return 1

  mv $pkgdir/etc/radiusclient $startdir/pkg/etc/radiusclient.default
}