aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-26 21:46:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-26 23:36:04 -0300
commit567cd9aabfa2dfc438ac7c193e275513c72f5cd9 (patch)
tree7fe0132bc96bf98d3662b1d9a859b6fae4c23c06
parentcdfc3d4123add1ee19ced0f42dd88c32e7cfbd14 (diff)
downloadaports-567cd9aabfa2dfc438ac7c193e275513c72f5cd9.tar.gz
aports-567cd9aabfa2dfc438ac7c193e275513c72f5cd9.tar.bz2
aports-567cd9aabfa2dfc438ac7c193e275513c72f5cd9.tar.xz
community/sdl2_mixer: modernize
-rw-r--r--community/sdl2_mixer/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/sdl2_mixer/APKBUILD b/community/sdl2_mixer/APKBUILD
index 621e54436b..a1c8364708 100644
--- a/community/sdl2_mixer/APKBUILD
+++ b/community/sdl2_mixer/APKBUILD
@@ -2,13 +2,12 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sdl2_mixer
pkgver=2.0.4
-pkgrel=0
+pkgrel=1
_pkgname=SDL2_mixer
pkgdesc="A simple multi-channel audio mixer"
url="http://www.libsdl.org/projects/SDL_mixer/"
arch="all"
-license="zlib"
-depends=""
+license="Zlib"
makedepends="sdl2-dev libvorbis-dev libmikmod-dev
libmodplug-dev flac-dev linux-headers"
subpackages="$pkgname-dev"
@@ -17,7 +16,7 @@ source="https://www.libsdl.org/projects/SDL_mixer/release/$_pkgname-$pkgver.tar.
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
- cd "$builddir"
+ default_prepare
update_config_sub
sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \
@@ -27,7 +26,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +38,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}