mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added core/texinfo
This commit is contained in:
parent
46f7600ab7
commit
571013f7c3
5 changed files with 118 additions and 0 deletions
48
core/texinfo/PKGBUILD
Normal file
48
core/texinfo/PKGBUILD
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - perl patch to fix a2ps FTBFS
|
||||
|
||||
pkgname=texinfo
|
||||
pkgver=7.0.2
|
||||
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)
|
||||
depends=(ncurses gzip perl sh)
|
||||
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
||||
texinfo-install.hook
|
||||
texinfo-remove.hook
|
||||
perl.patch)
|
||||
sha256sums=('f211ec3261383e1a89e4555a93b9d017fe807b9c3992fb2dff4871dae6da54ad'
|
||||
'SKIP'
|
||||
'5409fc3aa8a35e8f3d901e96bc50c986f204d90ce6bface0a7d79d99b487f801'
|
||||
'913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9'
|
||||
'fbd35efe4a3000612ca120ba95af555dd2244c40280b2ef78f55d786bb6131cd')
|
||||
validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../perl.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/
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQMuBFSTAuwRCADQ54jPzwDcRV7SE+u3xgy+J+7DpG+ctUG0BQ467Igmh5EXpc2P
|
||||
PDS8/rb8oJnUmgxf6cgD2WrZaQ9qOydgypHaofaa43KYPwcGF+XFp2rJb/Jgr3F+
|
||||
sY8dadzSQbG5/PZxf0GH/cm7DV2YfTKKugyca+QIsiD4J58we8jwjDBRAIllUATv
|
||||
vFZf1ioUyBQCLp3yeqxgFb/E6xORD8wetKTGFIWNUQE2v4ORIhDJfGJWV233njwU
|
||||
h4NzvTCnKFiMaF0x1Wl0LyXIyFY4jPfpEenqDypdp5rwsplV2RNNifi61DbUOMwV
|
||||
G6tvREeIHPwsHhy8ZbduXSixAuXMKeioNC2XAQDION8AT5rf0hvB4SRIBn7pAcyE
|
||||
RtLwvpne2ZYIsDv80wf/TmSNWueQov4sXLCPoJkyElffHhm1PcXncHoYIwkr5jz5
|
||||
1VEf+F43+B1Z7kybSWw73i5GSv7lJBt6YbDW2kiJuCnZEcvqHZ4/X12Was5SeUIX
|
||||
JrPeLcCxWDKvo30twAN3jnXFWKzESIl+rNA8L7kUt2eIaBe4mdObhfW8h1/rsMWd
|
||||
bCqThtZUR8ILi+jV0L8ctDhSG4f/sETal7Qtm/hqCml3X4ICU7u4c6C1NrIJ8JPu
|
||||
spOpQzt8I7lll7pleH7fj3Oyex4GFezkqYbnA72lhAmYqnaYP3ll1HRyobTQsmSw
|
||||
RVAczTfjgOHDZ66w1Lui9ORShvOegMxTBNerHilXVwf/bRLX6zu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VbUrAKBcm4umkK7ilJIsTWPZCDr8hdCbY7wDQLGgW8nU3PJpxwf1
|
||||
2kfxDZx22pWxaJosFeHETpxm8Lrgpbzwl1cHYRx3WLNJe/sKytaxlG0xEpnYshVh
|
||||
cDoOVe+E2sr3k33sSn4T7CIb7RVsWmrBVNUr+JSyiAaJ+rXAbzdNqat/WEK6UdbV
|
||||
jlr+IEaD7p5j0tWTuQjf/stWzhVqcuoewkZVg9elVx+j3cyRmGAtxESBa/CMuDbK
|
||||
xl3D8t+XkHl6ouUqpiVsUM6HNp2RO96/K3tAdscifoR3mqro57yGICPniGEEGBEI
|
||||
AAkFAlSTAuwCGwwACgkQ3bxXnas3+6k+XwD/SwbcbZF2INPUGGmjVO79NgLdN9h/
|
||||
jOgUaiUIB1U1r28BALczMUadFyqySr1wmwsWfNpPNU0OGTaaSpnzegPaG+LP
|
||||
=o42y
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
11
core/texinfo/perl.patch
Normal file
11
core/texinfo/perl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- texinfo-7.0.1/tp/Texinfo/ParserNonXS.pm.orig 2022-11-30 18:06:28.000000000 +0100
|
||||
+++ texinfo-7.0.1/tp/Texinfo/ParserNonXS.pm 2022-12-13 11:17:37.240447516 +0100
|
||||
@@ -4357,7 +4357,7 @@
|
||||
and ($current->{'parent'}->{'type'} eq 'menu_comment'
|
||||
or $current->{'parent'}->{'type'} eq 'menu_entry_description')
|
||||
and $asterisk
|
||||
- and @{$current->{'contents'}}
|
||||
+ and ref($current->{'contents'}) eq "ARRAY"
|
||||
and $current->{'contents'}->[-1]->{'type'}
|
||||
and $current->{'contents'}->[-1]->{'type'} eq 'empty_line'
|
||||
and $current->{'contents'}->[-1]->{'text'} eq '') {
|
11
core/texinfo/texinfo-install.hook
Normal file
11
core/texinfo/texinfo-install.hook
Normal file
|
@ -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
|
10
core/texinfo/texinfo-remove.hook
Normal file
10
core/texinfo/texinfo-remove.hook
Normal file
|
@ -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
|
Loading…
Reference in a new issue