summaryrefslogtreecommitdiffstats
path: root/main/man-pages/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-07 10:11:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-07 10:11:49 +0000
commita56381d2e816d4faae5b3ec28c7fe92f854cdbea (patch)
tree75e3755ad035527a39b9e63d57b2149c12cb1b02 /main/man-pages/APKBUILD
parent3d6c15a1ca26845257b3d40239fa993a45943cd1 (diff)
downloadaports-a56381d2e816d4faae5b3ec28c7fe92f854cdbea.tar.bz2
aports-a56381d2e816d4faae5b3ec28c7fe92f854cdbea.tar.xz
main/man-pages: upgrade to 3.25
Diffstat (limited to 'main/man-pages/APKBUILD')
-rw-r--r--main/man-pages/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/man-pages/APKBUILD b/main/man-pages/APKBUILD
index a827b0a79..3d126c701 100644
--- a/main/man-pages/APKBUILD
+++ b/main/man-pages/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=man-pages
-pkgver=3.23
+pkgver=3.25
_posixver=2003-a
-pkgrel=1
+pkgrel=0
pkgdesc="Linux man pages"
url="http://www.kernel.org/doc/man-pages/"
license="GPL"
@@ -12,8 +12,7 @@ options="!strip"
source="http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-$pkgver.tar.gz
http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-posix/$pkgname-posix-${_posixver}.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
mkdir -p "$srcdir"/$pkgname-$pkgver/man0
for sect in 0 1 3; do
@@ -22,10 +21,14 @@ build ()
mv "$srcdir"/$pkgname-posix-${_posixver}/man${sect}p/* \
"$srcdir"/$pkgname-$pkgver/man$sect/
done
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make prefix="$pkgdir"/usr install || return 1
# provided by libiconv-doc
rm "$pkgdir"/usr/share/man/man3/iconv*
}
-md5sums="4d0263bded9ad02a123ce11114ef76ac man-pages-3.23.tar.gz
+md5sums="98ec2324abea77d7a992470dd44d140c man-pages-3.25.tar.gz
7c78aff03c0a6767ba483d34f19e4b09 man-pages-posix-2003-a.tar.bz2"