diff options
author | root <root@rshg054.dnsready.net> | 2012-11-21 01:32:11 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-21 01:32:11 -0800 |
commit | f48f6c82e23a3bacb8a0952c2d2cf9af1e6bf42d (patch) | |
tree | d578e4bdc10acc78968e3e5cdfce8dcd0289a60d /community/openbsd-netcat/PKGBUILD | |
parent | 0a05643b928d724c048e4306955642d91f24d33c (diff) |
Wed Nov 21 01:32:09 PST 2012
Diffstat (limited to 'community/openbsd-netcat/PKGBUILD')
-rw-r--r-- | community/openbsd-netcat/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/community/openbsd-netcat/PKGBUILD b/community/openbsd-netcat/PKGBUILD index 51ccd5c7f..5f41c273c 100644 --- a/community/openbsd-netcat/PKGBUILD +++ b/community/openbsd-netcat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 76590 2012-09-24 09:58:51Z spupykin $ +# $Id: PKGBUILD 80338 2012-11-20 10:54:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> pkgname="openbsd-netcat" pkgver=1.105 -pkgrel=4 +pkgrel=5 _patch=7 pkgdesc="TCP/IP swiss army knife. OpenBSD variant." arch=('i686' 'x86_64') @@ -12,6 +12,8 @@ url="http://packages.debian.org/sid/netcat-openbsd" license=('BSD') depends=('libbsd') 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") md5sums=('7e67b22f1ad41a1b7effbb59ff28fca1' @@ -30,8 +32,9 @@ build() { package() { cd $srcdir/netcat-openbsd-${pkgver} - install -Dm0755 nc $pkgdir/usr/bin/nc.openbsd - install -Dm0644 nc.1 $pkgdir/usr/share/man/man1/nc.openbsd.1 + 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 install -dm0755 $pkgdir/usr/share/licenses/$pkgname/ head -n28 netcat.c | tail -n+2 >$pkgdir/usr/share/licenses/$pkgname/LICENSE } |