[arch-commits] Commit in man-pages/repos/testing-any (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at nymeria.archlinux.org
Fri Jan 24 16:23:11 UTC 2014
Date: Friday, January 24, 2014 @ 17:23:11
Author: andyrtr
Revision: 204660
archrelease: copy trunk to testing-any
Added:
man-pages/repos/testing-any/PKGBUILD
(from rev 204659, man-pages/trunk/PKGBUILD)
Deleted:
man-pages/repos/testing-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-24 16:22:57 UTC (rev 204659)
+++ PKGBUILD 2014-01-24 16:23:11 UTC (rev 204660)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=man-pages
-pkgver=3.56
-_posixver=2013-a
-pkgrel=2
-pkgdesc="Linux man pages"
-arch=('any')
-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.xz)
-sha256sums=('a0cbdf5e90e21138d4e5cb0b932d51f34907e4e0d2d200c77b2bababc93828aa'
- '19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808')
-
-build() {
- cd ${srcdir}/$pkgname-$pkgver
-
- # move the posix pages
- mkdir -p ${srcdir}/$pkgname-$pkgver/man0
- for sect in 0 1 3; do
- 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
-}
-
-package() {
- 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
- 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
- rm -f man3/getspnam.3
- # this is included in diffutils
- rm -f man1/diff.1
- # this is included in xf86-input-mouse
- rm -f man4/mouse.4
-
-
-}
Copied: man-pages/repos/testing-any/PKGBUILD (from rev 204659, man-pages/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-01-24 16:23:11 UTC (rev 204660)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=man-pages
+pkgver=3.57
+_posixver=2013-a
+pkgrel=1
+pkgdesc="Linux man pages"
+arch=('any')
+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.xz)
+sha256sums=('910ba04a792fe5769957d91701066e57ce6e9ff7f2ea6479ff3f2cde147706e5'
+ '19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ # move the posix pages
+ mkdir -p ${srcdir}/$pkgname-$pkgver/man0
+ for sect in 0 1 3; do
+ 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
+}
+
+package() {
+ 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
+ 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
+ rm -f man3/getspnam.3
+ # this is included in diffutils
+ rm -f man1/diff.1
+ # this is included in xf86-input-mouse
+ rm -f man4/mouse.4
+
+
+}
More information about the arch-commits
mailing list