#Packager: George Vlahavas pkgname=vimprobable2 pkgver=20110921 pkgrel=2gv source=("vimprobable2-$pkgver.tar.gz" "vimprobable2.desktop" "icons.tar.gz" "config-salix.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license" "patches") url=http://www.vimprobable.org options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "vimprobable (a WWW browser that behaves like Vimperator)" "Vimprobable is a WWW browser that behaves like the Vimperator plugin" "available for Mozilla Firefox. It is based on the WebKit engine (using" "GTK bindings). It is a fork of the currently abandoned vimpression." ) build() { cd $startdir/src/vimprobable2 patch -p1 < $startdir/src/config-salix.patch || exit 1 export PREFIX=/usr export MANDIR=/usr/man make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/vimprobable2.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/scalable/apps cp $startdir/src/vimprobable2.svg $startdir/pkg/usr/share/icons/hicolor/scalable/apps mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/vimprobable2.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }