diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-22 00:59:21 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-22 00:59:21 +0000 |
commit | 02f0b58373b503944412d7de529c653ebc5b240d (patch) | |
tree | 4f53bd6c28bf6a8da9813f0dbb55a3264ccc3ae1 /user/libmodplug/APKBUILD | |
parent | 8f7b486ad35c0419fa830e50dbbfc1250f64c840 (diff) | |
download | packages-02f0b58373b503944412d7de529c653ebc5b240d.tar.gz packages-02f0b58373b503944412d7de529c653ebc5b240d.tar.bz2 packages-02f0b58373b503944412d7de529c653ebc5b240d.tar.xz packages-02f0b58373b503944412d7de529c653ebc5b240d.zip |
user/libmodplug: new package
Diffstat (limited to 'user/libmodplug/APKBUILD')
-rw-r--r-- | user/libmodplug/APKBUILD | 37 |
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" |