diff options
author | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
commit | 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch) | |
tree | fa055d4e2f367acb518de6c4e06b77b6d8cbef75 /extra/netkit-bsd-finger/PKGBUILD | |
parent | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff) |
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'extra/netkit-bsd-finger/PKGBUILD')
-rw-r--r-- | extra/netkit-bsd-finger/PKGBUILD | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/extra/netkit-bsd-finger/PKGBUILD b/extra/netkit-bsd-finger/PKGBUILD index 286a6f82a..767e8b77d 100644 --- a/extra/netkit-bsd-finger/PKGBUILD +++ b/extra/netkit-bsd-finger/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 150721 2012-02-21 07:25:55Z andrea $ +# $Id: PKGBUILD 185297 2013-05-13 03:44:34Z eric $ # Maintainer: # Contributor: dorphell <dorphell@archlinux.org> pkgname=netkit-bsd-finger pkgver=0.17 -pkgrel=7 +pkgrel=8 pkgdesc="BSD-finger ported to Linux" arch=('i686' 'x86_64') url='ftp://ftp.uk.linux.org/pub/linux/Networking/netkit' @@ -15,27 +15,29 @@ source=("ftp://ftp.archlinux.org/other/${pkgname}/bsd-finger-${pkgver}.tar.gz" 'finger.xinetd' 'LICENSE' 'fix-manpage-typo.patch') md5sums=('52bf281aac8814bf56cdc92f7661ee75' - 'a8682004dc8dee356065162bde892b47' + 'a71333c0f3a6ac2ca9e37a6425abfc52' '5fc568418a0379fc3a358ed1c2523b44' '9c4ad79a8df81ade6d1938955f1debbd') -build() { - cd ${srcdir}/bsd-finger-${pkgver} - +prepare() { + cd bsd-finger-${pkgver} # FS#28232 patch -p1 -i "${srcdir}"/fix-manpage-typo.patch - - ./configure --prefix=/usr sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c +} + +build() { + cd bsd-finger-${pkgver} + ./configure --prefix=/usr make } package() { - cd ${srcdir}/bsd-finger-${pkgver} - install -d ${pkgdir}/usr/{bin,sbin} ${pkgdir}/usr/share/man/{man1,man8} - make INSTALLROOT=${pkgdir} MANDIR=/usr/share/man install + cd bsd-finger-${pkgver} + install -d "${pkgdir}"/usr/{bin,share/man/{man1,man8}} + make INSTALLROOT="${pkgdir}" SBINDIR=/usr/bin MANDIR=/usr/share/man install - install -D -m644 ${srcdir}/finger.xinetd ${pkgdir}/etc/xinetd.d/finger - install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 "${srcdir}/finger.xinetd" "${pkgdir}/etc/xinetd.d/finger" + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |