#Packager: George Vlahavas pkgname=residual pkgver=20110714 pkgrel=1gv source=(residual-$pkgver.tar.gz) docs=("readme" "install" "copying*" "copyright" "changelog" "authors" "news" "todo") url=http://residual.sourceforge.net/ options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "residual (a 3D game interpreter)" "Residual is a cross-platform 3D game interpreter which allows you to" "play LucasArts' LUA-based 3D adventures: Grim Fandango and Escape from" "Monkey Island, provided you already have their data files. Residual" "just replaces the executables shipped with the games, allowing you to" "play them on systems for which they were never designed!" ) build() { cd $startdir/src/$pkgname ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$pkgname-$pkgver \ --enable-release make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp dists/residual.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/256x256/apps cp icons/residual_icon_big.png $startdir/pkg/usr/share/icons/hicolor/256x256/apps/residual.png }