From 7f2c13ce77da5daacac06066666dcdd73e5aac7c Mon Sep 17 00:00:00 2001 From: mar77i Date: Thu, 25 Jun 2015 10:43:54 +0200 Subject: [PATCH] move tic invocation from Makefile to package() --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index ff5e10c..fc9cf60 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -32,6 +32,7 @@ prepare() { -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ -e '/int defaultcs/s/= .*/= 1;/' \ -i config.def.h + sed '/@tic/d' -i Makefile } build() { @@ -41,9 +42,8 @@ build() { package() { cd "${srcdir}/${_pkgname}" - export TERMINFO="${pkgdir}/usr/share/terminfo" - install -d "$TERMINFO" make PREFIX=/usr DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" + tic -s -o "${pkgdir}/usr/share/terminfo" st.info } -- 2.41.0