jobcore/texinfo/PKGBUILD-arch

40 lines
1.3 KiB
Text
Raw Normal View History

# Maintainer: Frederik Schwan <freswa at archlinux dot org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2022-03-20 13:19:37 +01:00
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=texinfo
2024-09-08 03:04:58 +02:00
pkgver=7.1.1
pkgrel=1
2022-03-20 13:19:37 +01:00
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)
2023-03-05 13:52:24 +01:00
optdepends=('perl-archive-zip: EPUB file output via texi2any')
2022-03-20 13:19:37 +01:00
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
texinfo-install.hook
2022-11-15 16:49:16 +01:00
texinfo-remove.hook)
2024-09-08 03:04:58 +02:00
sha256sums=('31ae37e46283529432b61bee1ce01ed0090d599e606fc6a29dca1f77c76a6c82'
2022-03-20 13:19:37 +01:00
'SKIP'
2023-11-14 00:32:09 +01:00
'beb0ff50bd8e8ca1d6e1c01e6a50352f9d25937c62822cf767a7b3d8f7374a9d'
2022-11-15 16:49:16 +01:00
'913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9')
2022-03-20 13:19:37 +01:00
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/
}