1
0
forked from ports/opt

htop: move man pages to /usr/share

This commit is contained in:
Thomas Penteker 2016-02-11 23:53:19 +01:00
parent 8ee414ba7e
commit 7e27e7daa4
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/htop
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/htop.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/htop.1.gz

View File

@ -11,10 +11,10 @@ source=(http://hisham.hm/htop/releases/$version/htop-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls --mandir=/usr/man
./configure --prefix=/usr --disable-nls --mandir=/usr/share/man
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{include,lib}
rm -rf $PKG/usr/share/{applications,pixmaps,}
rm -rf $PKG/usr/share/{applications,pixmaps}
}