56 lines
1.7 KiB
Bash
56 lines
1.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=texinfo
|
|
pkgver=7.0.3
|
|
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=(74b420d09d7f528e84f97aa330f0dd69a98a6053e7a4e01767eed115038807bf # texinfo-7.0.3.tar.xz
|
|
730dfb0533f1ad47e5e0dd82eb2efa84c6626d5be26175d71f554a61d40f87f0 # texinfo-7.0.3.tar.xz.sig
|
|
5409fc3aa8a35e8f3d901e96bc50c986f204d90ce6bface0a7d79d99b487f801 # texinfo-install.hook
|
|
913ca8aac84386399b0a83ed0f6b04b5e6322da62f5c1d7ed31e1050ed37c1a9) # texinfo-remove.hook
|
|
|
|
## 634163c17cc11b4b3e213c2a34f1e5ef362b26cc076af80685f16e082877ae56 texinfo-7.0.3-01-x86_64.pkg.tar.lz
|
|
|
|
|