diff options
author | Fredrik Rinnestam <fredrik@crux.nu> | 2015-07-25 23:28:58 +0200 |
---|---|---|
committer | Fredrik Rinnestam <fredrik@crux.nu> | 2015-07-25 23:28:58 +0200 |
commit | f26d0973ac1987b2c5ea8e54d8625923085d2fdc (patch) | |
tree | 7df5970b674e4579967b688d65448116bc8a11af /gzip | |
parent | 61f4c2c52b753f254794cd9b78a78e0f85e37f78 (diff) | |
download | core-f26d0973ac1987b2c5ea8e54d8625923085d2fdc.tar.gz core-f26d0973ac1987b2c5ea8e54d8625923085d2fdc.tar.xz |
gzip: move man-pages to /usr/share/man
Diffstat (limited to 'gzip')
-rw-r--r-- | gzip/.footprint | 27 | ||||
-rw-r--r-- | gzip/Pkgfile | 14 |
2 files changed, 21 insertions, 20 deletions
diff --git a/gzip/.footprint b/gzip/.footprint index 388d9f17..59e1b28f 100644 --- a/gzip/.footprint +++ b/gzip/.footprint @@ -15,16 +15,17 @@ lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip -rwxr-xr-x root/root usr/bin/zless -rwxr-xr-x root/root usr/bin/zmore -rwxr-xr-x root/root usr/bin/znew -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ -lrwxrwxrwx root/root usr/man/man1/gunzip.1.gz -> gzip.1.gz --rw-r--r-- root/root usr/man/man1/gzexe.1.gz --rw-r--r-- root/root usr/man/man1/gzip.1.gz -lrwxrwxrwx root/root usr/man/man1/zcat.1.gz -> gzip.1.gz -lrwxrwxrwx root/root usr/man/man1/zcmp.1.gz -> zdiff.1.gz --rw-r--r-- root/root usr/man/man1/zdiff.1.gz --rw-r--r-- root/root usr/man/man1/zforce.1.gz --rw-r--r-- root/root usr/man/man1/zgrep.1.gz --rw-r--r-- root/root usr/man/man1/zless.1.gz --rw-r--r-- root/root usr/man/man1/zmore.1.gz --rw-r--r-- root/root usr/man/man1/znew.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/ +lrwxrwxrwx root/root usr/share/man/man1/gunzip.1.gz -> gzip.1.gz +-rw-r--r-- root/root usr/share/man/man1/gzexe.1.gz +-rw-r--r-- root/root usr/share/man/man1/gzip.1.gz +lrwxrwxrwx root/root usr/share/man/man1/zcat.1.gz -> gzip.1.gz +lrwxrwxrwx root/root usr/share/man/man1/zcmp.1.gz -> zdiff.1.gz +-rw-r--r-- root/root usr/share/man/man1/zdiff.1.gz +-rw-r--r-- root/root usr/share/man/man1/zforce.1.gz +-rw-r--r-- root/root usr/share/man/man1/zgrep.1.gz +-rw-r--r-- root/root usr/share/man/man1/zless.1.gz +-rw-r--r-- root/root usr/share/man/man1/zmore.1.gz +-rw-r--r-- root/root usr/share/man/man1/znew.1.gz diff --git a/gzip/Pkgfile b/gzip/Pkgfile index ea3c35e8..f25927e6 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -4,27 +4,27 @@ name=gzip version=1.6 -release=1 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { cd $name-$version - ./configure --prefix=/usr --mandir=/usr/man + ./configure --prefix=/usr make make DESTDIR=$PKG install install -d $PKG/bin mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin - rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1} - ln -s gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz - ln -s gzip.1.gz $PKG/usr/man/man1/zcat.1.gz - ln -s zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz + rm $PKG/usr/share/man/man1/{gunzip.1,zcat.1,zcmp.1} + ln -s gzip.1.gz $PKG/usr/share/man/man1/gunzip.1.gz + ln -s gzip.1.gz $PKG/usr/share/man/man1/zcat.1.gz + ln -s zdiff.1.gz $PKG/usr/share/man/man1/zcmp.1.gz # make uncompress a symlink to gunzip, since the hardlink # will not work if / and /usr are on different file systems. rm $PKG/usr/bin/uncompress ln -s /bin/gunzip $PKG/usr/bin/uncompress - rm -r $PKG/usr/share + rm -r $PKG/usr/share/info } |