### this file is sourced not run
PKGVER=1.0.6
PKGBUILD=1
PKGARCH=i686

# source: james
TARBALL=SDL2_gfx-$PKGVER.tar.gz
MD5SUM=db9fda3a50433d45993e62243390d255
#SRC_URL=http://www.ferzkopp.net/Software/SDL2_gfx/$TARBALL # dead
SRC_URL=https://github.com/mupfdev/SDL2_gfx/archive/refs/tags/$PKGVER.tar.gz
BUNDLE=


SLACKREQ='libSDL2_32'
SLACKDESC="libSDL2-gfx32: libSDL2-gfx32 $PKGVER (SDL graphics library)  
libSDL2-gfx32:  
libSDL2-gfx32: SDL graphics drawing primitives and other support functions 
libSDL2-gfx32: wrapped up in an addon library for the Simple Direct Media (SDL) 
libSDL2-gfx32: cross-platform API layer.  
libSDL2-gfx32:
libSDL2-gfx32: This contains 32-bit version of the library.
libSDL2-gfx32: 
libSDL2-gfx32: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
libSDL2-gfx32: https://github.com/mupfdev/SDL2_gfx
libSDL2-gfx32: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/SDL*
	> README # needed by configure
	CONFFLAGS="$CONFFLAGS --disable-static" &&
	pkg_build_autoconf && pkg_build_slackdesc
}


