mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 20:07:15 +08:00
34 lines
823 B
Bash
34 lines
823 B
Bash
|
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
|
||
|
# Original Arch Linux Maintainer: Tom K <tomk@runbox.com>
|
||
|
|
||
|
_pkgname=netcat
|
||
|
pkgname=gnu-netcat
|
||
|
pkgver=0.7.1
|
||
|
pkgrel=2
|
||
|
pkgdesc="GNU rewrite of netcat, the network piping application."
|
||
|
depends=('glibc' 'texinfo')
|
||
|
arch=('x86_64')
|
||
|
url="http://netcat.sourceforge.net/"
|
||
|
license=('GPL')
|
||
|
replaces=('netcat')
|
||
|
provides=('netcat')
|
||
|
install="gnu-netcat.install"
|
||
|
categories=('network')
|
||
|
source=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2")
|
||
|
md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||
|
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||
|
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 et:
|