#Maintainer: tsuren #Mandatory pkgname=gnugo pkgver=3.8 pkgrel=1 zenver=60 arch=i486 sourcetemplate="http://zenwalk.pinguix.com/user-accounts/tsuren/games/gnugo/" source=("http://ftp.gnu.org/gnu/gnugo/gnugo-3.8.tar.gz") #source=("$pkgname-$pkgver" "thing.desktop" "anyothersourcestuff") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - GO game" "GNU Go is a free program that plays the game of Go. GNU Go has played" "thousands of games on the NNGS Go server. GNU Go is now also playing" "regularly on the Legend Go Server in Taiwan, on the WING server" "in Japan, and many volunteers run GNU Go clients on KGS. GNU Go" "has established itself as the leading non-commercial go program" "in the recent tournaments that it has taken part in." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make DESTDIR=$startdir/pkg install mkdir -p $startdir/pkg/usr/share/applications cat << "EOF" > $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Version=3.0 Type=Application Encoding=UTF-8 Name=GNU GO Comment=GO game Exec=gnugo TryExec=gnugo Icon=gnugo Terminal=true Categories=Game;BoardGame; StartupNotify=true EOF mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/GNUGO.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/gnugo.png } #Optional docs=('ABOUT-NLS' 'COPYING' 'AUTHORS' 'ChangeLog' 'INSTALL' 'NEWS' 'README' 'TODO' 'GPL' 'HISTORY') url="http://www.gnu.org/software/gnugo/"