netcat: fixed mandir location

This commit is contained in:
Jose V Beneyto 2016-04-04 12:23:09 +02:00
parent 4e87b88f10
commit 18422ed56f
2 changed files with 10 additions and 6 deletions

View File

@ -2,6 +2,7 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/nc -> netcat
-rwxr-xr-x root/root usr/bin/netcat
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/netcat.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/netcat.1.gz

View File

@ -6,14 +6,17 @@
name=netcat
version=0.7.1
release=2
release=3
source=(http://download.sourceforge.net/netcat/netcat-0.7.1.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr
./configure --prefix=/usr \
--mandir=/usr/share/man
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{share,info}
rm -rf $PKG/usr/{share/locale,info}
}