2022-10-14 15:26:36 +02:00

30 lines
763 B
Plaintext

# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmikmod
pkgver=3.3.11.1
pkgrel=3
pkgdesc="module playing library"
url="https://mikmod.sourceforge.net/"
arch="all"
license="LGPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="alsa-lib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/mikmod/libmikmod-$pkgver.tar.gz"
build() {
# build fails with bash
export CONFIG_SHELL="/bin/sh"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-alsa
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de libmikmod-3.3.11.1.tar.gz"