Commit 18465d32 authored by Sören Tempel's avatar Sören Tempel Committed by Francesco Colista

main/man-pages: compress man pages

parent 3e71f75b
......@@ -2,7 +2,7 @@
pkgname=man-pages
pkgver=4.02
_posixver=2003-a
pkgrel=0
pkgrel=1
pkgdesc="Linux man pages"
url="http://www.kernel.org/doc/man-pages/"
arch="noarch"
......@@ -14,6 +14,9 @@ source="http://www.kernel.org/pub/linux/docs/man-pages/man-pages-$pkgver.tar.xz
http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-posix/$pkgname-posix-${_posixver}.tar.bz2"
build() {
make -C "$srcdir"/$pkgname-$pkgver gz
make -C "$srcdir"/$pkgname-posix-${_posixver} gz
cd "$srcdir"/$pkgname-$pkgver
mkdir -p "$srcdir"/$pkgname-$pkgver/man0
for sect in 0 1 3; do
......@@ -27,6 +30,7 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make prefix="$pkgdir"/usr install || return 1
# provided by libiconv-doc
rm "$pkgdir"/usr/share/man/man3/iconv*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment