summaryrefslogtreecommitdiff
path: root/repo/devel/texinfo.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/texinfo.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/texinfo.xibuild')
-rw-r--r--repo/devel/texinfo.xibuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/repo/devel/texinfo.xibuild b/repo/devel/texinfo.xibuild
index 0bcbb29..cfc6653 100644
--- a/repo/devel/texinfo.xibuild
+++ b/repo/devel/texinfo.xibuild
@@ -2,16 +2,22 @@
DEPS=(ncurses gzip perl sh)
-SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz
+PKG_VER=6.8
+SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-$PKG_VER.tar.xz
DESC="GNU documentation system for reading, writing and converting info pages"
-build () {
+patch () {
# fix an issue when building with glibc-2.34 or later
sed -e 's/__attribute_nonnull__/__nonnull/' \
-i gnulib/lib/malloc/dynarray-skeleton.c
+}
+build () {
./configure --prefix=/usr
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
make TEXMF=$PKG_DEST/usr/share/texmf install-tex
}