summaryrefslogtreecommitdiff
path: root/sdl2_mixer/Pkgfile
blob: 6bdf2370eb0c40348af6ac86fa67190e19cd222f (plain)
    1 # Description: A sample multi-channel audio mixer library.
    2 # URL: http://www.libsdl.org/projects/SDL_mixer/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: libvorbis libmodplug flac libsdl2 mpg123
    5 
    6 name=sdl2_mixer
    7 version=2.0.4
    8 release=3
    9 source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$version.tar.gz)
   10 
   11 build() {
   12 	cd SDL2_mixer-$version
   13 
   14 	sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/options.h
   15 	sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/options.h
   16 
   17 	CONFIG_SHELL=/bin/bash ./configure \
   18 		--prefix=/usr
   19 
   20 	make
   21 	make DESTDIR=$PKG install
   22 }

Generated by cgit