diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 22:29:59 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 22:29:59 +0100 |
commit | 026397d1396fff05f5288e1b663e647f16d034af (patch) | |
tree | 15ced6dbc3b84e3bf51cb07ba3b0c35061015093 /pcr/freeradius-client/PKGBUILD | |
parent | 61312962396c2309a1079007804346cb359b8aa7 (diff) | |
download | abslibre-026397d1396fff05f5288e1b663e647f16d034af.tar.gz abslibre-026397d1396fff05f5288e1b663e647f16d034af.tar.bz2 abslibre-026397d1396fff05f5288e1b663e647f16d034af.zip |
pcr/freeradius-client: added
Diffstat (limited to 'pcr/freeradius-client/PKGBUILD')
-rw-r--r-- | pcr/freeradius-client/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/freeradius-client/PKGBUILD b/pcr/freeradius-client/PKGBUILD new file mode 100644 index 000000000..fddac14bf --- /dev/null +++ b/pcr/freeradius-client/PKGBUILD @@ -0,0 +1,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 +} |