[arch-commits] Commit in tftp-hpa/repos (extra-i686 extra-i686/PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 14 23:37:32 UTC 2009


    Date: Saturday, February 14, 2009 @ 18:37:32
  Author: jgc
Revision: 26960

Merged revisions 356,26950 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/tftp-hpa/trunk

........
  r356 | aaron | 2008-04-18 22:56:27 +0000 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r26950 | jgc | 2009-02-14 22:34:33 +0000 (Sat, 14 Feb 2009) | 2 lines
  
  upgpkg: tftp-hpa 0.49-1
      Drop termcap-compat dependency (be sure to compile it in a chroot without it!)
........

Modified:
  tftp-hpa/repos/extra-i686/	(properties)
  tftp-hpa/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)


Property changes on: tftp-hpa/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /tftp-hpa/trunk:1
   + /tftp-hpa/trunk:1-26959

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-02-14 23:36:53 UTC (rev 26959)
+++ extra-i686/PKGBUILD	2009-02-14 23:37:32 UTC (rev 26960)
@@ -2,23 +2,24 @@
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Contributor: Jose Javier  <jojapa at terra.es>
 pkgname=tftp-hpa
-pkgver=0.48
+pkgver=0.49
 pkgrel=1
 pkgdesc="official tftp server"
-arch=(i686 x86_64)
-depends=('tcp_wrappers' 'termcap-compat')
+arch=('i686' 'x86_64')
+depends=('tcp_wrappers')
 conflicts=('netkit-tftp')
 source=(http://www.kernel.org/pub/software/network/tftp/$pkgname-$pkgver.tar.gz tftpd)
 url="http://www.kernel.org/pub/software/network/tftp/"
-md5sums=('73dd29dfa9062a174163f6a267e0b5f7'
+md5sums=('321d27e46c3a2795cf7b033c56fbf657'
          '9b9919cdd8ef3bccb3c3f3531054a6ed')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
   make || return 1
-  make prefix=$startdir/pkg/usr install
-  mkdir -p $startdir/pkg/etc/rc.d $startdir/pkg/var/tftpboot
-  cp $startdir/src/tftpd $startdir/pkg/etc/rc.d/tftpd
-  rm $startdir/pkg/usr/man/man8/tftpd.8
+  make INSTALLROOT="${pkgdir}" install || return 1
+  install -d "${pkgdir}/etc/rc.d"
+  install -d "${pkgdir}/var/tftpboot"
+  install -m755 "${srcdir}/tftpd" "${pkgdir}/etc/rc.d/" || return 1
+  rm "${pkgdir}/usr/share/man/man8/tftpd.8"
 }




More information about the arch-commits mailing list