1 # Contributor: Sofia Benitez <srita.sapphire at gmail dot com>
3 pkgname="debian-netcat"
7 pkgdesc="TCP/IP swiss army knife. Debian variant."
9 url="http://packages.debian.org/sid/netcat-traditional"
11 depends=('glib2' 'glibc')
14 if [ "$CARCH" = "i686" ]; then
16 source=("http://ftp.us.debian.org/debian/pool/main/n/netcat/netcat-traditional_${pkgver}-${debrel}_${debarch}.deb")
17 md5sums=('6198ea66a2a00414f456e38cc9461db3')
18 sha256sums=('9b94cd8083a89831647309a0d8cd9b38191bb58ea09eba3ad0019a1278688f95')
21 if [ "$CARCH" = "x86_64" ]; then
23 source=("http://ftp.us.debian.org/debian/pool/main/n/netcat/netcat-traditional_${pkgver}-${debrel}_${debarch}.deb")
24 md5sums=('8ab7a32006903aedcc4d3e1f410d8a77')
25 sha256sums=('ac30aaac044277f53edda3a4ca930b7435c1a9f5e315ba5a8e7c32b60cc4b7aa')
31 ar x netcat-traditional_${pkgver}-${debrel}_${debarch}.deb
33 mkdir ${startdir}/pkg/usr
34 cp -r bin ${startdir}/pkg/usr
35 cp -r usr ${startdir}/pkg/