Skip to content
Snippets Groups Projects
Commit d316b30b authored by Daniel Sabogal's avatar Daniel Sabogal Committed by Natanael Copa
Browse files

main/sdl2_mixer: improve abuild and fix license

parent 0b71c8fe
No related branches found
No related tags found
No related merge requests found
......@@ -2,22 +2,23 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sdl2_mixer
pkgver=2.0.1
pkgrel=1
pkgrel=2
_pkgname=SDL2_mixer
pkgdesc="A simple multi-channel audio mixer"
url="http://www.libsdl.org/projects/SDL_mixer/"
arch="all"
license="GPL"
depends=
license="zlib"
depends=""
makedepends="sdl2-dev libvorbis-dev libmikmod-dev
libmodplug-dev flac-dev linux-headers"
libmodplug-dev flac-dev linux-headers"
subpackages="$pkgname-dev"
source="http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz"
_builddir="$srcdir"/SDL2_mixer-$pkgver
source="http://www.libsdl.org/projects/SDL_mixer/release/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
cd "$_builddir"
cd "$builddir"
update_config_sub || return 1
sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \
-e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \
-e "/DEFAULT_PATH2/s/\/usr\/local\/lib\/timidity/\/usr\/lib\/timidity/" \
......@@ -25,7 +26,7 @@ prepare() {
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -39,7 +40,7 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment