summaryrefslogblamecommitdiff
path: root/user/libmodplug/APKBUILD
blob: 23046bebeaab93e2a839c01d0f3864544c049ad1 (plain) (tree)




































                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libmodplug
pkgver=0.8.8.5
pkgrel=0
pkgdesc="Library for MOD music files"
url="http://modplug-xmms.sourceforge.net/"
arch="all"
license="GPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/modplug-xmms/libmodplug-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="aa943b8df5e3fd41b497e55f5d2c493c28a4c90d444d041f74a58ab5f4702eab9bb36f337e4c795561e0006846a5fda0b42bcf96b33e1267b190f6005862b332  libmodplug-0.8.8.5.tar.gz"