From abca8b21f18fe8938535ba52267db472a839a3b4 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Mon, 18 Apr 2016 08:22:53 -0300 Subject: texinfo-static: add new package to [libre] --- libre/texinfo-static/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 libre/texinfo-static/PKGBUILD (limited to 'libre/texinfo-static/PKGBUILD') diff --git a/libre/texinfo-static/PKGBUILD b/libre/texinfo-static/PKGBUILD new file mode 100644 index 000000000..2f57d4ce9 --- /dev/null +++ b/libre/texinfo-static/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Márcio Silva +# based of texinfo + +_pkgname=texinfo +pkgname=texinfo-static +pkgver=6.1 +pkgrel=1 +pkgdesc='GNU documentation system for on-line information and printed output (static libraries only)' +arch=('i686' 'x86_64' 'armv7h') +url='http://www.gnu.org/software/texinfo/' +license=('GPL3') +depends=('ncurses-static' 'perl-static' 'texinfo') +options=('staticlibs') +source=(ftp://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-$pkgver.tar.xz{,.sig} + texinfo-6.0-disable-failing-info-test.patch) +md5sums=('1d7ec1888fae00730693597852b00cde' + 'SKIP' + '8bfaa21315a8a6184811de8478005d22') +validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith + +prepare() { + cd $_pkgname-$pkgver + patch -p1 -i ../texinfo-6.0-disable-failing-info-test.patch +} + +build() { + cd $_pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + make -C $_pkgname-$pkgver check +} + +package() { + make -C $_pkgname-$pkgver DESTDIR="$pkgdir" install + + # remove conflicting files + rm -vr ${pkgdir}/usr/{bin,share} + rm -v ${pkgdir}/usr/lib/$_pkgname/*.so +} -- cgit v1.2.3-54-g00ecf