#Packager: George Vlahavas pkgname=vimprobable2 pkgver=20160716 pkgrel=1tjb source=("$pkgname-$pkgver.tar.xz" "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-$pkgver # 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/ }