#Packager: George Vlahavas pkgname=lmarbles pkgver=1.0.8 pkgrel=1gv source=("http://downloads.sourceforge.net/project/lgames/lmarbles/lmarbles-$pkgver.tar.gz" "lmarbles.desktop" "lmarbles.png") docs=("readmei*" "install" "copying" "changelog" "authors" "news" "todo") url=http://lgames.sourceforge.net/index.php?project=LMarbles slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lmarbles (an Atomix clone with a slight change in concept)" "LMarbles is an Atomix clone, but instead of assembling molecules you" "create figures out of marbles. Nevertheless, the basic game play is" "the same: If a marble starts to move it will not stop until it hits a" "wall or another marble. To make it more interesting there are" "obstacles like one-way streets, crumbling walls and portals. As" "Marbles is meant as a puzzle game you play against a move limit and" "not a time limit. This way you have as much time as you need to think." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/usr/share/lmarbles --sysconfdir=/etc --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/lmarbles.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/lmarbles.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ rm -f $startdir/pkg/usr/share/icons/lmarbles48.gif }