#Packager: George Vlahavas # # Requires ftjam/jam to compile pkgname=gargoyle pkgver=20090825 pkgrel=1gv source=("http://code.google.com/p/garglk/downloads/detail?name=gargoyle-2009-08-25-sources.zip") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license.txt" "charterbt.txt") url=http://ccxvii.net/gargoyle/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gargoyle (An interactive fiction player)" "Gargoyle is an IF player that supports all the major interactive" "fiction formats. Most interactive fiction is distributed as portable" "game files. These portable game files come in many formats. In the" "past, you used to have to download a separate player (interpreter) for" "each format of IF you wanted to play. Gargoyle is based on the" "standard interpreters for the formats it supports." ) build() { cd $startdir/src jam DESTDIR=$startdir/pkg _APPDIR=/usr/lib${LIBDIRSUFFIX}/gargoyle _LIBDIR=/usr/lib${LIBDIRSUFFIX} _BINDIR=/usr/bin jam install mkdir -p $startdir/pkg/etc cp garglk/garglk.ini $startdir/pkg/etc/ chmod 755 $startdir/pkg/usr/bin/gargoyle chmod 755 $startdir/pkg/usr/lib${LIBDIRSUFFIX}/gargoyle/* sed -i "s|dirpath=.*|dirpath=/usr/lib${LIBDIRSUFFIX}/gargoyle/|" $startdir/pkg/usr/bin/gargoyle }