55 lines
1.8 KiB
Bash
55 lines
1.8 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=texinfo
|
|
pkgver=7.1.1
|
|
pkgrel=01
|
|
pkgdesc='GNU documentation system for on-line information and printed output'
|
|
url='https://www.gnu.org/software/texinfo/'
|
|
groups=( jobbot )
|
|
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)
|
|
|
|
#prepare() {
|
|
# patch -d $pkgname-$pkgver -p1 < texinfo-pt-br-crash.patch # Avoid info crash for Brazillian Portuguese
|
|
#}
|
|
|
|
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/
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL3)
|
|
|
|
validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
|
|
|
|
sha256sums=(31ae37e46283529432b61bee1ce01ed0090d599e606fc6a29dca1f77c76a6c82 # texinfo-7.1.1.tar.xz
|
|
cd2cced6d130fe7cec7583c8691848b8448d930936c8f65cb27f9473ca056a81 # texinfo-7.1.1.tar.xz.sig
|
|
beb0ff50bd8e8ca1d6e1c01e6a50352f9d25937c62822cf767a7b3d8f7374a9d # texinfo-install.hook
|
|
913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9) # texinfo-remove.hook
|
|
|
|
## 4a1f57536836043bf8edab1c962429d946c42d9565604c797d19d98ceaf27a46 texinfo-7.1.1-01-x86_64.pkg.tar.lz
|
|
|