[arch-commits] Commit in man-pages-cs/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:29:46 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:29:46
  Author: felixonmars
Revision: 658483

archrelease: copy trunk to community-staging-any

Added:
  man-pages-cs/repos/community-staging-any/
  man-pages-cs/repos/community-staging-any/PKGBUILD
    (from rev 658481, man-pages-cs/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: man-pages-cs/repos/community-staging-any/PKGBUILD (from rev 658481, man-pages-cs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:29:46 UTC (rev 658483)
@@ -0,0 +1,45 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jan Krňávek <wamba at centrum.cz>
+
+pkgname=man-pages-cs
+pkgver=0.18.20090209
+pkgrel=7
+pkgdesc="Czech man pages"
+arch=('any')
+url="http://sweb.cz/tropikhajma/man-pages-cs/"
+license=('custom')
+depends=('man-db')
+makedepends=('xz')
+source=(http://tropikhajma.sweb.cz/$pkgname/$pkgname-$pkgver.tar.lzma)
+# old, not working sources: source=(http://odplata.ic.cz/$pkgname-$pkgver.tar.bz2)
+# source=(ftp://man-pages-cs-wiki.homelinux.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha512sums=('6061301293401ce9d808a046f6aa128f5b0c69e033ff420acb27e1e3f68884c7575013fc4b22d378e7aeaffa1dd8cd903238bc690c9d07044907238af6c6e8b5')
+
+package() {
+  tar xfa ${srcdir}/$pkgname-$pkgver.tar.lzma
+
+  cd ${srcdir}/$pkgname-$pkgver
+
+  #removing conflicting files
+  rm ${srcdir}/$pkgname-$pkgver/procps/{kill.1,uptime.1}
+  rm ${srcdir}/$pkgname-$pkgver/coreutils/man/{groups.1,du.1}
+  rm ${srcdir}/$pkgname-$pkgver/man-pages/man1/{dir.1,vdir.1}
+  rm ${srcdir}/$pkgname-$pkgver/man-pages/man5/passwd.5
+
+  #installing files
+  install -d ${pkgdir}/usr/share/man/cs/man{1,2,3,4,5,6,7,8}
+  find . -name '*.1' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man1
+  find . -name '*.2' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man2
+  find . -name '*.3' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man3
+  find . -name '*.4' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man4
+  find . -name '*.5' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man5
+  find . -name '*.6' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man6
+  find . -name '*.7' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man7
+  find . -name '*.8' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t ${pkgdir}/usr/share/man/cs/man8
+
+  #licenses
+  install -D -m644 ${srcdir}/$pkgname-$pkgver/README \
+    ${pkgdir}/usr/share/licenses/$pkgname/README
+  install -D -m644 ${srcdir}/$pkgname-$pkgver/CONTRIB \
+    ${pkgdir}/usr/share/licenses/$pkgname/CONTRIB
+}


More information about the arch-commits mailing list