summaryrefslogtreecommitdiff
path: root/pcr/freeradius-client/PKGBUILD
blob: fddac14bfdc334c7e50cbd3987cc0968e3b98718 (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
# Maintainer (AUR): Brian Bidulock <bidulock@openss7.org>
# Contributor (AUR): Kalidarn

pkgname=freeradius-client
pkgver=1.1.7
pkgrel=2
pkgdesc="FreeRADIUS Client Software"
arch=('x86_64' 'i686')
url="http://wiki.freeradius.org/Radiusclient"
license=('BSD')
#source=(ftp://ftp.freeradius.org/pub/radius/$pkgname-$pkgver.tar.bz2)
source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRADIUS/freeradius-client/archive/release_${pkgver//./_}.tar.gz)
sha256sums=('5eb20eb0eb0c194ba2efeedbe00aa40fe3e774615bbb4d5814ba085cd1b26557')

build() {
  cd "$srcdir"/freeradius-client-release_${pkgver//./_}
  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
  make
}

package() {
  cd "$srcdir"/freeradius-client-release_${pkgver//./_}
  make DESTDIR="$pkgdir" install
  install -D -m0644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license
  mv "$pkgdir"/etc/radiusclient "$pkgdir"/etc/radiusclient.default
}