### this file is sourced not run
PKGVER=1.3.6
PKGBUILD=1
PKGARCH=x86_64

# source: 01micko (01micko.com)
TARBALL=xinvaders3d-1.3.6.src.tar.gz
MD5SUM=59fc645f21cf1859b6792131c07caa96
#SRC_URL=http://download.sourceforge.net/xinvaders3d/$TARBALL
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='libX11'
SLACKDESC="xinvaders3d: xinvaders3d $PKGVER (space invaders clone)
xinvaders3d:
xinvaders3d: xinvaders3d is a vector graphics space shooter much like the classic
xinvaders3d: space invaders.
xinvaders3d: 
xinvaders3d: Homepage: http://xinvaders3d.sourceforge.net/
xinvaders3d:
xinvaders3d: 
xinvaders3d:
xinvaders3d:
xinvaders3d:
"

### default pkg_download
### default pkg_prepare
### defaulg pkg_package

### build
pkg_build() {
	cd /tmp/xinvaders3d
	make &&
	cp -a ./xinv3d /usr/bin/ &&
	pkg_build_slackdesc &&

	mkdir -p /usr/share/applications /usr/share/pixmaps &&
	install -m644 ../pkg/xinv3d.png /usr/share/pixmaps &&
	install -m644 ../pkg/xinvaders3d.desktop /usr/share/applications
}	
