Ver código fonte

[testing] -> [core] 'man-pages-5.01-1' move

master
artoo 4 meses atrás
pai
commit
06f2be1fdd
Acessado por: artoo <artoo@artixlinux.org> ID da chave GPG: 3292CD0BB0DB310B

+ 2
- 2
man-pages/repos/core-any/PKGBUILD Ver arquivo

@@ -1,7 +1,7 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=man-pages
pkgver=5.00
pkgver=5.01
_posixver=2013-a
pkgrel=1
pkgdesc="Linux man pages"
@@ -13,7 +13,7 @@ depends=()
source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
sha256sums=('5a2f5036b76cf3e67513fbe1fc97dbfc1503c67c6b8a1b39c2c92ba22166d900'
sha256sums=('7dfce1334e22e2565cf219a83c5cdfa1fc5e877d54ee15a0d1f5f1de5143b627'
'SKIP'
'19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808'
'SKIP')

+ 0
- 63
man-pages/repos/testing-any/PKGBUILD Ver arquivo

@@ -1,63 +0,0 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=man-pages
pkgver=5.01
_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=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
sha256sums=('7dfce1334e22e2565cf219a83c5cdfa1fc5e877d54ee15a0d1f5f1de5143b627'
'SKIP'
'19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808'
'SKIP')
validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') #Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>

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
# 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
# included in shadow
rm -f man5/passwd.5
rm -f man3/getspnam.3
# included in diffutils
rm -f man1/diff.1
# included in xf86-input-mouse
rm -f man4/mouse.4
# included in attr
rm -f man5/attr.5
# included in lirc
rm -f man4/lirc.4
# included in keyutils
rm -f man7/{keyrings.7,persistent-keyring.7,process-keyring.7,session-keyring.7,thread-keyring.7,user-keyring.7,user-session-keyring.7}
# included in tzdata
rm -f man5/tzfile.5 man8/{tzselect,zdump,zic}.8
}

Carregando…
Cancelar
Salvar