summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-18 08:22:53 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-18 12:53:23 -0300
commitabca8b21f18fe8938535ba52267db472a839a3b4 (patch)
treebe504d4c5549db09b3417793384de60b86485012
parent33dea98defc94be7f26f3465f9480f13ed95b93f (diff)
downloadabslibre-abca8b21f18fe8938535ba52267db472a839a3b4.tar.gz
abslibre-abca8b21f18fe8938535ba52267db472a839a3b4.tar.bz2
abslibre-abca8b21f18fe8938535ba52267db472a839a3b4.zip
texinfo-static: add new package to [libre]
-rw-r--r--libre/texinfo-static/PKGBUILD42
-rw-r--r--libre/texinfo-static/texinfo-6.0-disable-failing-info-test.patch11
2 files changed, 53 insertions, 0 deletions
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 <coadde@parabola.nu>
+# 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
+}
diff --git a/libre/texinfo-static/texinfo-6.0-disable-failing-info-test.patch b/libre/texinfo-static/texinfo-6.0-disable-failing-info-test.patch
new file mode 100644
index 000000000..436354f41
--- /dev/null
+++ b/libre/texinfo-static/texinfo-6.0-disable-failing-info-test.patch
@@ -0,0 +1,11 @@
+diff -up texinfo-6.0/info/Makefile.in.orig texinfo-6.0/info/Makefile.in
+--- texinfo-6.0/info/Makefile.in.orig 2015-07-14 13:17:44.298882856 +0200
++++ texinfo-6.0/info/Makefile.in 2015-07-14 13:18:13.082004108 +0200
+@@ -1695,7 +1695,6 @@ TESTS = \
+ t/end-of-line.sh \
+ t/goal-column.sh \
+ t/star-note-non-whitespace.sh \
+- t/c-u-m-x-scroll-forward.sh \
+ t/last-no-history.sh \
+ t/split-footnotes.sh \
+ t/window-split-dir.sh \