compat-32/apulse-32/Pkgfile
2014-11-14 00:34:56 +11:00

26 lines
631 B
Plaintext

# Description: PulseAudio emulation for ALSA.
# URL: https://github.com/i-rinat/apulse
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Packager: Thomas Penteker, tek at serverop dot de
# Depends on: cmake glib-32 alsa-lib-32
name=apulse-32
version=0.1.2
release=1
source=(https://github.com/i-rinat/apulse/archive/v${version}.tar.gz)
build() {
cd apulse-$version
sed -i -e "s:/lib/apulse:/lib32:" CMakeLists.txt
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR=$PKG install
mv $PKG/usr/bin/apulse $PKG/usr/bin/apulse-32
}