#Packager: Dimitris Tzemos pkgname=gnubg pkgver=1.08.003 pkgrel=1dj source=(https://ftp.gnu.org/gnu/gnubg/gnubg-release-$pkgver-sources.tar.gz $pkgname.desktop) docs=("ABOUT-NLS" "AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO") url=http://www.gnubg.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnubg (command line or a gui backgammon)" " GNU Backgammon (gnubg) is for playing and analysing backgammon" " positions, games and matches. It's based on a neural network. It" " currently plays at about the level of a championship flight" " tournament player. Command line and Graphical (GTK+) interfaces" " are available. OpenGL is optional for 3D board support." "" " http://www.gnubg.org/" ) build() { cd $startdir/src/$pkgname-$pkgver ./autogen.sh LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --mandir=/usr/man \ -with-gtk3 \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install-strip DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cat $startdir/src/gnubg.desktop > $startdir/pkg/usr/share/applications/gnubg.desktop }