### this file is sourced not run
PKGNAME=xmahjongg
PKGVER=3.7
PKGBUILD=1
PKGARCH=x86_64

# source: JakeSFR
TARBALL=${PKGNAME}-${PKGVER}.tar.gz
MD5SUM=9db5bf1b329b410220b7976cd9b3d374
SRC_URL=http://www.lcdf.org/xmahjongg/$TARBALL
BUNDLE=

SLACKREQ=''

SLACKDESC="${PKGNAME}: ${PKGNAME} ${PKGVER} (Mahjongg game)
${PKGNAME}: 
${PKGNAME}: Xmahjongg is a simple implementation of the popular solitaire
${PKGNAME}: Mah Jongg game. The object is to remove all 144 tiles from 
${PKGNAME}: the playing area by matching them two at a time. 
${PKGNAME}: 
${PKGNAME}: http://www.lcdf.org/xmahjongg/
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="${CONFFLAGS} --mandir=/usr/share/man"

	cd /tmp/${PKGNAME}* &&

	pkg_build_autoconf &&
	pkg_build_slackdesc	&&
	
	install -m755 /tmp/pkg/xmahjongg-launcher /usr/bin &&
	install -m644 /tmp/pkg/xmahjongg.desktop /usr/share/applications &&
	install -m644 /tmp/pkg/xmahjongg.png /usr/share/pixmaps &&
	
	true
}
