#Maintainer: fushark pkgname=termit pkgver=1.3.5 pkgrel=1 zenver=54 arch=i486 source=(http://termit.googlecode.com/files/$pkgname-$pkgver.tar.bz2) sourcetemplate=http://users.zenwalk.org/user-accounts/fushark/termit docs=("install" "copying" "changelog" "todo" "bugs" "termit.example" "readme") url=http://termit.googlecode.com slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (simple terminal emulator)" "Termit is a simple terminal emulator based on vte library. It features" "tabs, bookmarks, changing tab name, changing font for tabs, encodings" "(all available from GTK2), and sessions." "" "Configuration can be changed via ~/.config/termit/termit.cfg file" "(example is provided)." ) build() { cd $startdir/src/$pkgname-$pkgver sed -i "s_-Wall_-Wall -O2 -march=i486 -mtune=i686_g" CMakeLists.txt cmake -D CMAKE_INSTALL_PREFIX=/usr . make || return 1 make install DESTDIR=$startdir/pkg #add icon to desktop file sed -i "12a Icon=openterm" $startdir/pkg/usr/share/applications/termit.desktop #remove extra share/doc rm -rf $startdir/pkg/usr/share/doc }