archrelease: copy trunk to extra-x86_64
[arch-packages.git] / texinfo / trunk / PKGBUILD
blob1e66fca9814b9b16182e97c74f21728064482fa8
1 # Maintainer:
2 # Contributor:  BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=texinfo
7 pkgver=6.8
8 pkgrel=2
9 pkgdesc='GNU documentation system for on-line information and printed output'
10 arch=(x86_64)
11 url='https://www.gnu.org/software/texinfo/'
12 license=(GPL3)
13 groups=(base-devel)
14 depends=(ncurses gzip perl sh)
15 source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
16         texinfo-install.hook
17         texinfo-remove.hook
18         texinfo-pt-br-crash.patch)
19 sha256sums=('8eb753ed28bca21f8f56c1a180362aed789229bd62fff58bf8368e9beb59fec4'
20             'SKIP'
21             '5409fc3aa8a35e8f3d901e96bc50c986f204d90ce6bface0a7d79d99b487f801'
22             '913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9'
23             '73639d69b29ca8274225b16a2a0d51055f1ef76b4a65e9b5b65b5bb0a152f3c7')
24 validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
26 prepare() {
27   patch -d $pkgname-$pkgver -p1 < texinfo-pt-br-crash.patch # Avoid info crash for Brazillian Portuguese
30 build() {
31   cd $pkgname-$pkgver
32   ./configure --prefix=/usr
33   make
36 check() {
37   make -C $pkgname-$pkgver check
40 package() {
41   make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
43   install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
44   install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/