[arch-commits] Commit in texinfo/repos (4 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 13 16:11:46 UTC 2019


    Date: Wednesday, November 13, 2019 @ 16:11:45
  Author: felixonmars
Revision: 368160

archrelease: copy trunk to staging-x86_64

Added:
  texinfo/repos/staging-x86_64/
  texinfo/repos/staging-x86_64/PKGBUILD
    (from rev 368157, texinfo/trunk/PKGBUILD)
  texinfo/repos/staging-x86_64/texinfo-install.hook
    (from rev 368157, texinfo/trunk/texinfo-install.hook)
  texinfo/repos/staging-x86_64/texinfo-remove.hook
    (from rev 368157, texinfo/trunk/texinfo-remove.hook)

----------------------+
 PKGBUILD             |   38 ++++++++++++++++++++++++++++++++++++++
 texinfo-install.hook |   11 +++++++++++
 texinfo-remove.hook  |   10 ++++++++++
 3 files changed, 59 insertions(+)

Copied: texinfo/repos/staging-x86_64/PKGBUILD (from rev 368157, texinfo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-11-13 16:11:45 UTC (rev 368160)
@@ -0,0 +1,38 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=texinfo
+pkgver=6.7
+pkgrel=2
+pkgdesc='GNU documentation system for on-line information and printed output'
+arch=(x86_64)
+url='https://www.gnu.org/software/texinfo/'
+license=(GPL3)
+groups=(base-devel)
+depends=(ncurses gzip perl sh)
+source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+        texinfo-install.hook
+        texinfo-remove.hook)
+md5sums=('d4c5d8cc84438c5993ec5163a59522a6'
+         'SKIP'
+         '9a98fb162650ff3065f9a4ebec22db36'
+         '5590fb3ef9ec309c98f5a4d85eca49da')
+validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  make -C $pkgname-$pkgver check
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+
+  install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
+  install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/
+}

Copied: texinfo/repos/staging-x86_64/texinfo-install.hook (from rev 368157, texinfo/trunk/texinfo-install.hook)
===================================================================
--- staging-x86_64/texinfo-install.hook	                        (rev 0)
+++ staging-x86_64/texinfo-install.hook	2019-11-13 16:11:45 UTC (rev 368160)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/share/info/*
+
+[Action]
+Description = Updating the info directory file...
+When = PostTransaction
+Exec = /bin/sh -c 'while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done'
+NeedsTargets

Copied: texinfo/repos/staging-x86_64/texinfo-remove.hook (from rev 368157, texinfo/trunk/texinfo-remove.hook)
===================================================================
--- staging-x86_64/texinfo-remove.hook	                        (rev 0)
+++ staging-x86_64/texinfo-remove.hook	2019-11-13 16:11:45 UTC (rev 368160)
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/share/info/*
+
+[Action]
+Description = Removing old entries from the info directory file...
+When = PreTransaction
+Exec = /bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done'
+NeedsTargets



More information about the arch-commits mailing list