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

# source: james
TARBALL=mxml-$PKGVER.tar.gz
MD5SUM=35f8416ee2d27ceab653ea2ff64c794c
SRC_URL=https://github.com/michaelrsweet/mxml/releases/download/v${PKGVER}/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC="libmxml: libmxml $PKGVER (Lightweight XML library)
libmxml: 
libmxml: Mini-XML is a small XML library that you can use to read and write 
libmxml: XML and XML-like data files in your application without requiring 
libmxml: large non-standard libraries.
libmxml: 
libmxml: https://www.msweet.org/
libmxml: 
libmxml: 
libmxml: 
libmxml: 
"

### default pkg_download
### prepare
#pkg_prepare() {
#	if pkg_check $SRC_DIR $TARBALL $MD5SUM; then
#		echo extracting $TARBALL ...
#		mkdir tmp/mxml
#		tar -xf $SRC_DIR/$TARBALL -C tmp/mxml
#	else
#		return 1
#	fi
#}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
