#Packager: Tim Beech #Former Packager: George Vlahavas pkgname=apvlv pkgver=0.1.4 pkgrel=3tjb sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ source=("https://github.com/downloads/naihe2010/apvlv/apvlv-$pkgver-Source.tar.gz" "apvlv.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://naihe2010.github.com/apvlv/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "apvlv (A PDF Viewer which behaves like Vim)" "apvlv is a small and fast PDF viewer, that uses poppler for rendering." "Its interface aims to users who like vim behaviour. For example" "opening a PDF file can be done with ':o filename'. apvlv can also work" "with tabs, so you can open multiple files at the same time in one" "program." ) build() { cd $startdir/src/$pkgname-$pkgver-Source cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS=$CFLAGS -DAPVLV_WITH_UMD=0 . make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/apvlv.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/32x32/apps cp icons/pdf.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps/apvlv.png }