[arch-commits] Commit in netkit-bsd-finger/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Nov 30 15:53:30 EST 2011


    Date: Wednesday, November 30, 2011 @ 15:53:29
  Author: andrea
Revision: 143920

upgpkg: netkit-bsd-finger 0.17-6

Upload sources on al.org, rebuilt to sign package

Modified:
  netkit-bsd-finger/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-30 20:53:04 UTC (rev 143919)
+++ PKGBUILD	2011-11-30 20:53:29 UTC (rev 143920)
@@ -1,26 +1,35 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer:
+# Contributor: dorphell <dorphell at archlinux.org>
+
 pkgname=netkit-bsd-finger
 pkgver=0.17
-pkgrel=5
-pkgdesc="bsd-finger ported to Linux"
+pkgrel=6
+pkgdesc="BSD-finger ported to Linux"
 arch=('i686' 'x86_64')
-url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
+url='ftp://ftp.uk.linux.org/pub/linux/Networking/netkit'
 license=('BSD')
 depends=('glibc' 'xinetd')
 backup=('etc/xinetd.d/finger')
-source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-${pkgver}.tar.gz finger.xinetd LICENSE)
-md5sums=('52bf281aac8814bf56cdc92f7661ee75' 'a8682004dc8dee356065162bde892b47'\
+source=("ftp://ftp.archlinux.org/other/${pkgname}/bsd-finger-${pkgver}.tar.gz"
+        'finger.xinetd' 'LICENSE')
+md5sums=('52bf281aac8814bf56cdc92f7661ee75'
+         'a8682004dc8dee356065162bde892b47'
          '5fc568418a0379fc3a358ed1c2523b44')
 
 build() {
    cd ${srcdir}/bsd-finger-${pkgver}
+   ./configure --prefix=/usr
+   sed -i 's at include <sys/time.h>@include <time.h>@' finger/lprint.c
+   sed -i 's at include <sys/time.h>@include <time.h>@' finger/sprint.c
+   make
+}
+
+package() {
+   cd ${srcdir}/bsd-finger-${pkgver}
    install -d ${pkgdir}/usr/{bin,sbin} ${pkgdir}/usr/share/man/{man1,man8}
-   ./configure --prefix=/usr || return 1
-   sed -i 's at include <sys/time.h>@include <time.h>@' finger/lprint.c || return 1
-   sed -i 's at include <sys/time.h>@include <time.h>@' finger/sprint.c || return 1
-   make || return 1
-   make INSTALLROOT=${pkgdir} MANDIR=/usr/share/man install || return 1
-   install -D -m644 ${srcdir}/finger.xinetd ${pkgdir}/etc/xinetd.d/finger || return 1
-   install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   make INSTALLROOT=${pkgdir} 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
 }



More information about the arch-commits mailing list