[arch-commits] Commit in gnu-netcat/repos (3 files)

Jan de Groot jgc at archlinux.org
Sat Aug 15 16:06:57 UTC 2009


    Date: Saturday, August 15, 2009 @ 12:06:57
  Author: jgc
Revision: 49781

Merged revisions 356,49769,49775 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/gnu-netcat/trunk

........
  r356 | aaron | 2008-04-19 00:56:27 +0200 (Sat, 19 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r49769 | jgc | 2009-08-15 17:41:03 +0200 (Sat, 15 Aug 2009) | 2 lines
  
  upgpkg: gnu-netcat 0.7.1-3
      Fix manpath and infopath, handle info files
........
  r49775 | jgc | 2009-08-15 17:45:26 +0200 (Sat, 15 Aug 2009) | 1 line
  
  Add missing file
........

Added:
  gnu-netcat/repos/extra-i686/gnu-netcat.install
    (from rev 49775, gnu-netcat/trunk/gnu-netcat.install)
Modified:
  gnu-netcat/repos/extra-i686/	(properties)
  gnu-netcat/repos/extra-i686/PKGBUILD

--------------------+
 PKGBUILD           |   19 ++++++++++---------
 gnu-netcat.install |   13 +++++++++++++
 2 files changed, 23 insertions(+), 9 deletions(-)


Property changes on: gnu-netcat/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /gnu-netcat/trunk:1
   + /gnu-netcat/trunk:1-49780

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-08-15 15:55:02 UTC (rev 49780)
+++ extra-i686/PKGBUILD	2009-08-15 16:06:57 UTC (rev 49781)
@@ -3,20 +3,21 @@
 
 pkgname=gnu-netcat
 pkgver=0.7.1
-pkgrel=2
+pkgrel=3
 pkgdesc="GNU rewrite of netcat, the network piping application"
-depends=('glibc')
-source=(http://dl.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2)
-md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef')
+depends=('glibc' 'texinfo')
+arch=('i686' 'x86_64')
 url="http://netcat.sourceforge.net/"
-license="GPL"
+license=('GPL')
 replaces=('netcat')
 provides=('netcat')
-arch=(i686)
+install=gnu-netcat.install
+source=(http://dl.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2)
+md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef')
 
 build() {
-  cd $startdir/src/netcat-$pkgver
-  ./configure --prefix=/usr
+  cd "${srcdir}/netcat-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR="${pkgdir}" install || return 1
 }

Copied: gnu-netcat/repos/extra-i686/gnu-netcat.install (from rev 49775, gnu-netcat/trunk/gnu-netcat.install)
===================================================================
--- extra-i686/gnu-netcat.install	                        (rev 0)
+++ extra-i686/gnu-netcat.install	2009-08-15 16:06:57 UTC (rev 49781)
@@ -0,0 +1,13 @@
+infodir=/usr/share/info
+
+post_install() {
+  install-info $infodir/netcat.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  install-info --delete $infodir/netcat.info.gz $infodir/dir 2> /dev/null
+}




More information about the arch-commits mailing list