]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
move tic invocation from Makefile to package()
authormar77i <mysatyre@gmail.com>
Thu, 25 Jun 2015 08:43:54 +0000 (10:43 +0200)
committermar77i <mysatyre@gmail.com>
Thu, 25 Jun 2015 08:43:54 +0000 (10:43 +0200)
PKGBUILD

index ff5e10ca18e6f354421a56e5c2c10edfddae499a..fc9cf60da50d63ab59970c9109c84c39ec412398 100644 (file)
--- 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
 }