#Maintainer: George Vlahavas pkgname=gtkballs pkgver=3.1.5 pkgrel=1gv arch=x86_64 source=("http://gtkballs.antex.ru/dist/gtkballs-$pkgver.tar.gz" "gtkballs.desktop" "gtkballs.png") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "about-nls") url=http://gtkballs.antex.ru/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gtkballs is a clone of well-known DOS game \"Lines\"." "Your objective in this game is to make horizontal, vertical or" "diagonal lines with at least five items of the same color." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/usr/share/gtkballs --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/gtkballs.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/gtkballs.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }