#Packager: George Vlahavas pkgname=hugor pkgver=1.0 pkgrel=1gv source=("https://github.com/realnc/hugor/archive/1.0.tar.gz" "hugor.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "bugs" "html_tads_license") url=http://ifwiki.org/index.php/Hugor slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "hugor (a Hugo interpreter)" "Hugor is an interpreter for interactive fiction games written using" "the Hugo authoring systemi. Hugor supports all graphics, sound, and" "music formats of the Hugo engine. Video, however, is not yet" "supported." ) build() { cd $startdir/src/$pkgname-$pkgver qmake SOUND=sdl make -j $numjobs || return 1 mkdir -p $startdir/pkg/usr/bin cp hugor $startdir/pkg/usr/bin/ mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/hugor.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/{48x48,72x72}/apps cp $startdir/src/hugor-$pkgver/he_32-bit_48x48.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/hugor.png cp $startdir/src/hugor-$pkgver/he_32-bit_72x72.png $startdir/pkg/usr/share/icons/hicolor/72x72/apps/hugor.png }