[arch-commits] Commit in man-pages/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Apr 8 21:14:03 UTC 2009


    Date: Wednesday, April 8, 2009 @ 17:14:03
  Author: andyrtr
Revision: 34268

upgpkg: man-pages 3.20-1
    new version 3,20; move posix pages into common man pages directories - fixes #13734

Modified:
  man-pages/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-08 18:45:29 UTC (rev 34267)
+++ PKGBUILD	2009-04-08 21:14:03 UTC (rev 34268)
@@ -2,7 +2,7 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=man-pages
-pkgver=3.19
+pkgver=3.20
 _posixver=2003-a
 pkgrel=1
 pkgdesc="Linux man pages"
@@ -13,14 +13,18 @@
 depends=()
 source=(http://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.gz
 	http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.bz2)
-md5sums=('362728541d6fcdf1e79fe6f7f1cf90eb'
+md5sums=('2df4c07be521ef7c2579eeaae677ad8c'
          '7c78aff03c0a6767ba483d34f19e4b09')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
-  make prefix=${pkgdir}/usr install || return 1
+  
+  # move the posix pages
+  mkdir -p ${srcdir}/$pkgname-$pkgver/man0
+  mv -iv ${srcdir}/$pkgname-posix-${_posixver}/man0p/* ${srcdir}/$pkgname-$pkgver/man0/
+  mv -iv ${srcdir}/$pkgname-posix-${_posixver}/man1p/* ${srcdir}/$pkgname-$pkgver/man1/
+  mv -iv ${srcdir}/$pkgname-posix-${_posixver}/man3p/* ${srcdir}/$pkgname-$pkgver/man3/
 
-  cd ${srcdir}/$pkgname-posix-${_posixver}
   make prefix=${pkgdir}/usr install || return 1
 
   cd ${pkgdir}/usr/share/man




More information about the arch-commits mailing list