### this file is sourced not run
pkgname=libsidplayfp
PKGVER=2.16.1
PKGBUILD=1
PKGARCH=x86_64

# source: JakeSFR
TARBALL=${pkgname}-${PKGVER}.tar.gz
MD5SUM=e5b166291248e2865f16b9d90dc4ddcc
SRC_URL=https://github.com/libsidplayfp/libsidplayfp/releases/download/v${PKGVER}/${TARBALL}
BUNDLE=

SLACKDESC="${pkgname}: ${pkgname} ${PKGVER} (Library to play C64 music)
${pkgname}: 
${pkgname}: Libsidplayfp (and its console frontend sidplayfp) is a fork of
${pkgname}: sidplay2 born with the aim to improve the quality of emulating
${pkgname}: the 6581, 8580 chips and the surrounding C64 system
${pkgname}: in order to play SID music better.
${pkgname}: 
${pkgname}: https://github.com/libsidplayfp/libsidplayfp
${pkgname}: 
${pkgname}: 
${pkgname}:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd tmp/${pkgname}* &&
	pkg_build_autoconf &&
	pkg_build_slackdesc	&&
	install -Dm644 ../pkg/roms/basic /usr/share/sidplayfp/basic &&
	install -Dm644 ../pkg/roms/chargen /usr/share/sidplayfp/chargen &&
	install -Dm644 ../pkg/roms/kernal /usr/share/sidplayfp/kernal &&

	true
}
