file: move man-pages to /usr/share/man

This commit is contained in:
Fredrik Rinnestam 2015-07-25 23:45:58 +02:00
parent 5be877ca07
commit 9fe780f6c6
2 changed files with 9 additions and 10 deletions

View File

@ -9,13 +9,13 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libmagic.so -> libmagic.so.1.0.0
lrwxrwxrwx root/root usr/lib/libmagic.so.1 -> libmagic.so.1.0.0
-rwxr-xr-x root/root usr/lib/libmagic.so.1.0.0
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/file.1.gz
drwxr-xr-x root/root usr/man/man3/
-rw-r--r-- root/root usr/man/man3/libmagic.3.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/magic.5.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/file.1.gz
drwxr-xr-x root/root usr/share/man/man3/
-rw-r--r-- root/root usr/share/man/man3/libmagic.3.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/magic.5.gz
drwxr-xr-x root/root usr/share/misc/
-rw-r--r-- root/root usr/share/misc/magic.mgc

View File

@ -5,16 +5,15 @@
name=file
version=5.24
release=1
release=2
source=(ftp://ftp.astron.com/pub/file/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-fsect-man5 \
--enable-static
make
make DESTDIR=$PKG install
rmdir $PKG/usr/man/man4
rmdir $PKG/usr/share/man/man4
}