Date: Saturday, March 4, 2023 @ 22:53:47
  Author: freswa
Revision: 470242

archrelease: copy trunk to testing-x86_64

Added:
  texinfo/repos/testing-x86_64/
  texinfo/repos/testing-x86_64/PKGBUILD
    (from rev 470241, texinfo/trunk/PKGBUILD)
  texinfo/repos/testing-x86_64/keys/
  texinfo/repos/testing-x86_64/texinfo-install.hook
    (from rev 470241, texinfo/trunk/texinfo-install.hook)
  texinfo/repos/testing-x86_64/texinfo-remove.hook
    (from rev 470241, texinfo/trunk/texinfo-remove.hook)

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

Copied: texinfo/repos/testing-x86_64/PKGBUILD (from rev 470241, 
texinfo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-03-04 22:53:47 UTC (rev 470242)
@@ -0,0 +1,39 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: BartÅ‚omiej Piotrowski <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=texinfo
+pkgver=7.0.2
+pkgrel=3
+pkgdesc='GNU documentation system for on-line information and printed output'
+arch=(x86_64)
+url='https://www.gnu.org/software/texinfo/'
+license=(GPL3)
+depends=(ncurses gzip perl sh)
+optdepends=('perl-archive-zip: EPUB file output via texi2any')
+source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+        texinfo-install.hook
+        texinfo-remove.hook)
+sha256sums=('f211ec3261383e1a89e4555a93b9d017fe807b9c3992fb2dff4871dae6da54ad'
+            'SKIP'
+            '5409fc3aa8a35e8f3d901e96bc50c986f204d90ce6bface0a7d79d99b487f801'
+            '913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9')
+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/testing-x86_64/texinfo-install.hook (from rev 470241, 
texinfo/trunk/texinfo-install.hook)
===================================================================
--- testing-x86_64/texinfo-install.hook                         (rev 0)
+++ testing-x86_64/texinfo-install.hook 2023-03-04 22:53:47 UTC (rev 470242)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+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/testing-x86_64/texinfo-remove.hook (from rev 470241, 
texinfo/trunk/texinfo-remove.hook)
===================================================================
--- testing-x86_64/texinfo-remove.hook                          (rev 0)
+++ testing-x86_64/texinfo-remove.hook  2023-03-04 22:53:47 UTC (rev 470242)
@@ -0,0 +1,10 @@
+[Trigger]
+Type = Path
+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

Reply via email to