Date: Thursday, October 11, 2018 @ 09:37:45
  Author: bpiotrowski
Revision: 336172

archrelease: copy trunk to testing-x86_64

Added:
  texinfo/repos/testing-x86_64/
  texinfo/repos/testing-x86_64/PKGBUILD
    (from rev 336171, texinfo/trunk/PKGBUILD)
  texinfo/repos/testing-x86_64/r8006.patch
    (from rev 336171, texinfo/trunk/r8006.patch)
  texinfo/repos/testing-x86_64/texinfo-install.hook
    (from rev 336171, texinfo/trunk/texinfo-install.hook)
  texinfo/repos/testing-x86_64/texinfo-remove.hook
    (from rev 336171, texinfo/trunk/texinfo-remove.hook)

----------------------+
 PKGBUILD             |   45 +++++++++++++++++++++++++++++++++++++++++++++
 r8006.patch          |   16 ++++++++++++++++
 texinfo-install.hook |   11 +++++++++++
 texinfo-remove.hook  |   10 ++++++++++
 4 files changed, 82 insertions(+)

Copied: texinfo/repos/testing-x86_64/PKGBUILD (from rev 336171, 
texinfo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-10-11 09:37:45 UTC (rev 336172)
@@ -0,0 +1,45 @@
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=texinfo
+pkgver=6.5
+pkgrel=2
+pkgdesc='GNU documentation system for on-line information and printed output'
+arch=(x86_64)
+url='http://www.gnu.org/software/texinfo/'
+license=(GPL3)
+groups=(base 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
+        r8006.patch)
+md5sums=('3715197e62e0e07f85860b3d7aab55ed'
+         'SKIP'
+         '9a98fb162650ff3065f9a4ebec22db36'
+         '5590fb3ef9ec309c98f5a4d85eca49da'
+         'd764aef5e2e5424f3f2d8303542d7443')
+validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i "$srcdir/r8006.patch"
+}
+
+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/r8006.patch (from rev 336171, 
texinfo/trunk/r8006.patch)
===================================================================
--- testing-x86_64/r8006.patch                          (rev 0)
+++ testing-x86_64/r8006.patch  2018-10-11 09:37:45 UTC (rev 336172)
@@ -0,0 +1,16 @@
+--- trunk/tp/Texinfo/Parser.pm 2018/06/04 19:51:36     8006
++++ trunk/tp/Texinfo/Parser.pm 2018/07/13 15:31:28     8007
+@@ -5531,11 +5531,11 @@
+     }
+   } elsif ($command eq 'clickstyle') {
+     # REMACRO
+-    if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) {
++    if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*/) {
+       $args = ['@'.$1];
+       $self->{'clickstyle'} = $1;
+       $remaining = $line;
+-      $remaining =~ 
s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
++      $remaining =~ 
s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
+       $has_comment = 1 if (defined($4));
+     } else {
+       $self->line_error (sprintf($self->__(

Copied: texinfo/repos/testing-x86_64/texinfo-install.hook (from rev 336171, 
texinfo/trunk/texinfo-install.hook)
===================================================================
--- testing-x86_64/texinfo-install.hook                         (rev 0)
+++ testing-x86_64/texinfo-install.hook 2018-10-11 09:37:45 UTC (rev 336172)
@@ -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/testing-x86_64/texinfo-remove.hook (from rev 336171, 
texinfo/trunk/texinfo-remove.hook)
===================================================================
--- testing-x86_64/texinfo-remove.hook                          (rev 0)
+++ testing-x86_64/texinfo-remove.hook  2018-10-11 09:37:45 UTC (rev 336172)
@@ -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

Reply via email to