#Packager: George Vlahavas pkgname=st pkgver=0.4.1 pkgrel=1gv source=("http://dl.suckless.org/st/st-$pkgver.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "faq" "legacy") url=http://st.suckless.org/ doinst() { if [ -e /usr/bin/tic ]; then /usr/bin/tic -s usr/share/st/st.info >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "st (a simple terminal implementation for X)" "st is a simple virtual terminal emulator for X which sucks less." ) build() { cd $startdir/src/$pkgname-$pkgver # Change the default font to terminus sed -i "s/Liberation Mono:pixelsize=12/Terminus:pixelsize=14/" config.def.h # Remove "tic" line from Makefile - we cannot do this here! sed -i "/^\t@tic/d" Makefile CFLAGS="$CFLAGS" \ make make install \ PREFIX=/usr \ MANPREFIX=/usr/man \ DESTDIR=$startdir/pkg # Incluse st.info in package mkdir -p $startdir/pkg/usr/share/st cp st.info $startdir/pkg/usr/share/st/ }