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

# source: james
# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=0.8.9.0.2023.04 # 0.8.9.0 is the latest release from sourceforge
MD5SUM=761d8582916c55130aba40dbfc1093e1
hash=d1b97ed0020bc620a059d3675d1854b40bd2608d
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=libmodplug-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/Konstanty/libmodplug/archive/$hash.tar.gz

SLACKREQ=
SLACKDESC="libmodplug: libmodplug $PKGVER (MODule player library)"'
libmodplug:  
libmodplug: This is a library to play various MODules, e.g. MODs, XMs, ITs, 
libmodplug: and others. It is not as accurate as XMP library but it is more 
libmodplug: popular due to its maturity; and its rendering quality is good 
libmodplug: enough for many songs. Given the right patch files, it can also
libmodplug: render MIDI files to WAV.
libmodplug: 
libmodplug: https://github.com/Konstanty/libmodplug
libmodplug: https://sourceforge.net/projects/modplug-xmms/files/libmodplug/
libmodplug:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libmodplug* &&
	autoreconf -fi &&
	CONFFLAGS="$CONFFLAGS --disable-static" &&
	pkg_build_autoconf &&	
	pkg_build_slackdesc
}


