diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 04:54:42 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 04:54:42 +0000 |
commit | 005eabd6ba6d45e5069458026dec75abc5261bb4 (patch) | |
tree | b4e46b7efece9175d1a6351dfd30c64b958af8c1 /user/sdl_mixer/APKBUILD | |
parent | 561d61fd90abdf4f460e722a8251584e584c058a (diff) | |
download | packages-005eabd6ba6d45e5069458026dec75abc5261bb4.tar.gz packages-005eabd6ba6d45e5069458026dec75abc5261bb4.tar.bz2 packages-005eabd6ba6d45e5069458026dec75abc5261bb4.tar.xz packages-005eabd6ba6d45e5069458026dec75abc5261bb4.zip |
user/*: Modernise / fix syntax / deps / code
Diffstat (limited to 'user/sdl_mixer/APKBUILD')
-rw-r--r-- | user/sdl_mixer/APKBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/user/sdl_mixer/APKBUILD b/user/sdl_mixer/APKBUILD index 2cdb8238e..05972034e 100644 --- a/user/sdl_mixer/APKBUILD +++ b/user/sdl_mixer/APKBUILD @@ -9,13 +9,13 @@ arch="all" options="!check" # No test suite. license="Zlib" depends="" -makedepends="flac-dev fluidsynth-dev libvorbis-dev linux-headers sdl-dev" +makedepends="bash flac-dev fluidsynth-dev libvorbis-dev linux-headers sdl-dev" subpackages="$pkgname-dev" source="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz" builddir="$srcdir"/SDL_mixer-$pkgver prepare() { - cd "$builddir" + default_prepare update_config_sub sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \ -e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \ @@ -24,20 +24,18 @@ prepare() { } build() { - cd "$builddir" - ./configure \ + bash ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-music-mod + --enable-music-mod SHELL=/bin/bash make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |