core/texinfo/PKGBUILD

42 lines
1.0 KiB
Bash
Raw Normal View History

2017-02-12 06:07:12 +08:00
# Maintainer: almack[at]chakralinux[dot]org>
2010-03-13 23:25:19 +08:00
pkgname=texinfo
2017-01-03 09:27:44 +08:00
pkgver=6.3
pkgrel=4
2010-03-13 23:25:19 +08:00
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
arch=('x86_64')
2010-03-13 23:25:19 +08:00
url="http://www.gnu.org/software/texinfo/"
license=('GPL3')
groups=('base')
depends=('ncurses' 'findutils' 'gzip' 'sh' 'perl')
2010-03-13 23:25:19 +08:00
install=texinfo.install
2017-01-03 09:27:44 +08:00
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
texinfo-6.0-disable-failing-info-test.patch)
2017-01-03 09:27:44 +08:00
md5sums=('32baefe5c7080dfb512a4eac5ce67b2a'
2014-06-14 21:40:29 +08:00
'SKIP'
'8bfaa21315a8a6184811de8478005d22')
2017-01-03 09:27:44 +08:00
validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith
2014-06-14 21:40:29 +08:00
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
2017-01-03 09:27:44 +08:00
patch -p1 -i ../texinfo-6.0-disable-failing-info-test.patch
2014-06-14 21:40:29 +08:00
}
2010-03-13 23:25:19 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2010-05-16 23:08:55 +08:00
./configure --prefix=/usr
make
}
2014-06-14 21:40:29 +08:00
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
2010-05-16 23:08:55 +08:00
package() {
2017-02-04 02:00:36 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-05-16 23:08:55 +08:00
make DESTDIR=${pkgdir} install
2017-02-04 02:00:36 +08:00
rm -rfv $pkgdir/usr/share/libalpm/
2010-03-13 23:25:19 +08:00
}