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

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Jun 22 15:45:21 EDT 2010


    Date: Tuesday, June 22, 2010 @ 15:45:20
  Author: andyrtr
Revision: 83757

upgpkg: man-pages 3.25-1
new version 3.25

Modified:
  man-pages/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-22 19:39:43 UTC (rev 83756)
+++ PKGBUILD	2010-06-22 19:45:20 UTC (rev 83757)
@@ -2,7 +2,7 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=man-pages
-pkgver=3.24
+pkgver=3.25
 _posixver=2003-a
 pkgrel=1
 pkgdesc="Linux man pages"
@@ -13,7 +13,7 @@
 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=('083fc666f1f1143157901e96c9810539'
+md5sums=('98ec2324abea77d7a992470dd44d140c'
          '7c78aff03c0a6767ba483d34f19e4b09')
 
 build() {
@@ -25,23 +25,27 @@
     sed -i "/^\.so /s/man${sect}p/man$sect/" "${srcdir}/$pkgname-posix-${_posixver}/man${sect}p"/*
     mv -iv "${srcdir}/$pkgname-posix-${_posixver}/man${sect}p"/* "${srcdir}/$pkgname-$pkgver/man$sect/"
   done
+}
 
-  make prefix=${pkgdir}/usr install || return 1
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
 
+  make prefix=${pkgdir}/usr install
+
   cd ${pkgdir}/usr/share/man
   # these are included in coreutils || return 1
-  rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1 || return 1
-  rm -f man1/{df,dircolors,du,install,ln,ls}.1 || return 1
-  rm -f man1/{mkdir,mkfifo,mknod,mv,rm,rmdir}.1 || return 1
-  rm -f man1/{touch,vdir}.1 || return 1
+  rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1
+  rm -f man1/{df,dircolors,du,install,ln,ls}.1
+  rm -f man1/{mkdir,mkfifo,mknod,mv,rm,rmdir}.1
+  rm -f man1/{touch,vdir}.1
   # this is included in shadow
-  rm -f man5/passwd.5 || return 1
-  rm -f man3/getspnam.3 || return 1
+  rm -f man5/passwd.5
+  rm -f man3/getspnam.3
   # this is included in diffutils
-  rm -f man1/diff.1 || return 1
+  rm -f man1/diff.1
   # this is included in xf86-input-mouse
-  rm -f man4/mouse.4 || return 1
+  rm -f man4/mouse.4
   # these are included in module-init-tools
-  rm -f man2/{create_module,delete_module,get_kernel_syms}.2 || return 1
-  rm -f man2/{init_module,query_module}.2 || return 1
+  rm -f man2/{create_module,delete_module,get_kernel_syms}.2
+  rm -f man2/{init_module,query_module}.2
 }



More information about the arch-commits mailing list