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

# source: kirk updated to latest
# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
BUNDLE=

# git-master tarball
PKGVER=0.9.4.2023.06 # pull date
MD5SUM=6668c1221d2691666f748bf7f06ee3d4
hash=b6241a373cc09f021c2ab29714eca5f9e33463f8
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=pacman-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/ebuc99/pacman//archive/$hash.tar.gz

SLACKREQ='libSDL2 libSDL2-mixer libSDL2-ttf libSDL2-image'
SLACKDESC="pacman: pacman $PKGVER (Pacman video game.)  
pacman:  
pacman: This is a clone of the original pacman from Namco, as I remember 
pacman: and I played for the first time on an Atari 130 XL in the early 
pacman: 90s. But Paul Neaves pacman clone has inspired me greatly. One 
pacman: of the main goals of this implementation is a SDL Application 
pacman: with very less use of CPU power.
pacman: 
pacman: https://github.com/ebuc99/pacman/
pacman:  
pacman: 
"

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

### build
pkg_build() {
	cd /tmp/pacman* &&
	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	ln -sf /usr/share/pacman /usr/local/share/pacman
}
