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

# source: james
TARBALL=allegro-$PKGVER.tar.gz
MD5SUM=ef890e344cacfd1b49a2432ae3e2260c
SRC_URL=http://download.gna.org/allegro/allegro/$PKGVER/$TARBALL
BUNDLE=

SLACKREQ='libphysfs libpng libjpeg-turbo freetype2 libogg libflac libX11' # and open-gl, build-time: libdumb
SLACKDESC="liballegro5: liballegro5 $PKGVER (Game library)
liballegro5: 
liballegro5: Allegro is a cross-platform library mainly aimed at video game and 
liballegro5: multimedia programming. It handles common, low-level tasks such as 
liballegro5: creating windows, accepting user input, loading data, drawing images, 
liballegro5: playing sounds, etc. and generally abstracting away the underlying 
liballegro5: platform.
liballegro5: This is version 5 of the library.
liballegro5: 
liballegro5: http://liballeg.org/
liballegro5:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX=64"
	pkg_build_cmake &&
	pkg_build_slackdesc
}


