PKGBUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
  2. # Contributor: Allan McRae <allan@archlinux.org>
  3. # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
  4. pkgname=texinfo
  5. pkgver=6.5
  6. pkgrel=1
  7. pkgdesc='GNU documentation system for on-line information and printed output'
  8. arch=('x86_64' 'ppc64le')
  9. url='http://www.gnu.org/software/texinfo/'
  10. license=(GPL3)
  11. groups=(base base-devel)
  12. depends=(ncurses gzip perl sh)
  13. source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
  14. texinfo-install.hook
  15. texinfo-remove.hook)
  16. md5sums=('3715197e62e0e07f85860b3d7aab55ed'
  17. 'SKIP'
  18. '9a98fb162650ff3065f9a4ebec22db36'
  19. '5590fb3ef9ec309c98f5a4d85eca49da')
  20. validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
  21. build() {
  22. cd $pkgname-$pkgver
  23. ./configure --prefix=/usr
  24. make
  25. }
  26. check() {
  27. make -C $pkgname-$pkgver check
  28. }
  29. package() {
  30. make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
  31. install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
  32. install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/
  33. }