#Packager: Tim Beech #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=battleship pkgver=0.47 pkgrel=1tjb #arch=noarch source=(https://launchpad.net/~finteis/+archive/battleship/+files/battleship_0.47-1-0ubuntu1~quantal.tar.gz) sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://launchpad.net/battleship #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "battleship (Battleship Game)" "You play versus a computer controlled opponent." "Instead of firing blindly you get hints" "about the enemy's ships' positions." "" "Homepage: https://launchpad.net/battleship" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --mandir=/usr/man make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/$pkgname/icons mv $startdir/pkg/usr/share/pixmaps/* $startdir/pkg/usr/share/$pkgname/icons rmdir $startdir/pkg/usr/share/pixmaps } #build() { #        cd $startdir/src/$pkgname-$pkgver # #        ./configure \ #           --prefix=/usr \ #           --libdir=/usr/lib${LIBDIRSUFFIX} \ #           --localstatedir=/var \ #           --sysconfdir=/etc \ #           --mandir=/usr/man #        make || return 1 #        make DESTDIR=$startdir/pkg install #} # #