summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libmodplug/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libmodplug/APKBUILD b/user/libmodplug/APKBUILD
new file mode 100644
index 000000000..23046bebe
--- /dev/null
+++ b/user/libmodplug/APKBUILD
@@ -0,0 +1,37 @@
+# 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"