Date: Friday, January 24, 2014 @ 08:20:31
  Author: andyrtr
Revision: 204605

upgpkg: man-pages 3.56-2

upstream update posix man-pages 2013-a

Modified:
  man-pages/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-01-24 03:48:01 UTC (rev 204604)
+++ PKGBUILD    2014-01-24 07:20:31 UTC (rev 204605)
@@ -3,18 +3,18 @@
 
 pkgname=man-pages
 pkgver=3.56
-_posixver=2003-a
-pkgrel=1
+_posixver=2013-a
+pkgrel=2
 pkgdesc="Linux man pages"
 arch=('any')
-license=('GPL')
+license=('GPL' 'custom')
 url="http://man7.org/linux/man-pages/index.html";
 groups=('base')
 depends=()
 source=(http://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.xz
-        
http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.bz2)
+        
http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.xz)
 sha256sums=('a0cbdf5e90e21138d4e5cb0b932d51f34907e4e0d2d200c77b2bababc93828aa'
-            'e355b1b7bbccd4cef6b4a38dccf090e4535e038c21a9985c19891f21173d49ea')
+            '19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
@@ -31,7 +31,11 @@
   cd ${srcdir}/$pkgname-$pkgver
 
   make prefix=${pkgdir}/usr install
-
+  
+  # posix pages have a custom license
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 ${srcdir}/$pkgname-posix-${_posixver}/POSIX-COPYRIGHT 
"${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"
+  
   cd ${pkgdir}/usr/share/man
   # these are included in coreutils
   rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1
@@ -45,4 +49,6 @@
   rm -f man1/diff.1
   # this is included in xf86-input-mouse
   rm -f man4/mouse.4
+  
+  
 }

Reply via email to