summaryrefslogtreecommitdiff
path: root/pcr/ffingerd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ffingerd/PKGBUILD')
-rw-r--r--pcr/ffingerd/PKGBUILD39
1 files changed, 24 insertions, 15 deletions
diff --git a/pcr/ffingerd/PKGBUILD b/pcr/ffingerd/PKGBUILD
index 5b43314d3..ebe94ddd3 100644
--- a/pcr/ffingerd/PKGBUILD
+++ b/pcr/ffingerd/PKGBUILD
@@ -1,27 +1,36 @@
pkgname=ffingerd
pkgver=1.28
-pkgrel=3
-pkgdesc="Secure finger daemon"
-arch=('i686' 'x86_64' 'mips64el')
+pkgrel=4
+pkgdesc="secure finger daemon"
+arch=('i686' 'x86_64')
url="http://www.fefe.de/ffingerd/"
license=('GPL2')
depends=('glibc' 'xinetd')
-backup=('etc/xinetd.d/finger')
-source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2 finger.xinetd)
-md5sums=('fe207448745da07b4e393d8b8694658b' '2ca1a6b3f442a5c0c81fa03d265a203e')
+backup=('etc/xinetd.d/ffinger')
+source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2
+ finger.xinetd)
+md5sums=('fe207448745da07b4e393d8b8694658b'
+ '2ca1a6b3f442a5c0c81fa03d265a203e')
-build() {
- cd $srcdir/$pkgname-$pkgver
- install -d $pkgdir/usr/sbin $pkgdir/usr/share/man/man8
- ./configure --prefix=/usr
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man8"
- make
+ echo "ac_cv_header_sys_syslog_h=yes" >>config.cache
+ echo "ac_cv_header_arpa_inet_h=yes" >>config.cache
+ echo "ac_cv_header_sys_errno_h=yes" >>config.cache
}
-package(){
- cd $srcdir/$pkgname-$pkgver
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+
+ make
+}
- make SBINDIR=$pkgdir/usr/sbin MANDIR=$pkgdir/usr/share/man install
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
- install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/ffinger
+ make SBINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" install
+ install -D -m644 "$srcdir/finger.xinetd" "$pkgdir/etc/xinetd.d/ffinger"
}