[arch-commits] Commit in openbsd-netcat/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Mar 18 11:54:52 UTC 2013
Date: Monday, March 18, 2013 @ 12:54:52
Author: spupykin
Revision: 86493
upgpkg: openbsd-netcat 1.105_7-6
upd
Modified:
openbsd-netcat/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-18 11:54:41 UTC (rev 86492)
+++ PKGBUILD 2013-03-18 11:54:52 UTC (rev 86493)
@@ -3,9 +3,8 @@
# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
pkgname="openbsd-netcat"
-pkgver=1.105
-pkgrel=5
-_patch=7
+pkgver=1.105_7
+pkgrel=6
pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
arch=('i686' 'x86_64')
url="http://packages.debian.org/sid/netcat-openbsd"
@@ -14,13 +13,13 @@
makedepends=('gcc' 'make')
provides=('netcat')
conflicts=('gnu-netcat')
-source=("http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver}.orig.tar.gz"
- "http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver}-${_patch}.debian.tar.gz")
+source=("http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver%_*}.orig.tar.gz"
+ "http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver/_/-}.debian.tar.gz")
md5sums=('7e67b22f1ad41a1b7effbb59ff28fca1'
'e914f8eb7eda5c75c679dd77787ac76b')
build() {
- cd $srcdir/netcat-openbsd-${pkgver}
+ cd $srcdir/netcat-openbsd-${pkgver%_*}
for i in `cat ../debian/patches/series`; do
echo "** patch $i" 1>&2
cat "../debian/patches/$i"
@@ -31,7 +30,7 @@
}
package() {
- cd $srcdir/netcat-openbsd-${pkgver}
+ cd $srcdir/netcat-openbsd-${pkgver%_*}
install -Dm0755 nc $pkgdir/usr/bin/nc
ln -s nc $pkgdir/usr/bin/netcat
install -Dm0644 nc.1 $pkgdir/usr/share/man/man1/nc.1
More information about the arch-commits
mailing list