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

This commit is contained in:
Fredrik Rinnestam 2015-07-26 00:03:54 +02:00
parent 58cdedf049
commit 4a05085abf
2 changed files with 7 additions and 7 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/cpio
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/cpio.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/cpio.1.gz

View File

@ -4,7 +4,7 @@
name=cpio
version=2.11
release=2
release=3
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
@ -12,10 +12,9 @@ build() {
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share,libexec}
rm $PKG/usr/man/man1/mt.1
rm -r $PKG/usr/{libexec,share/info}
rm $PKG/usr/share/man/man1/mt.1
}