PKGBUILDs/community/alsa-plugins/PKGBUILD

31 lines
882 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 1992 2009-09-07 13:36:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
pkgname=alsa-plugins
pkgver=1.0.21
pkgrel=1
pkgdesc="Extra alsa plugins"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
license=('GPL')
depends=('alsa-lib')
makedepends=('pulseaudio')
options=('!libtool')
install=$pkgname.install
source=(ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$pkgver.tar.bz2)
md5sums=('392d016c0948c54978c0505f24271e01')
build() {
cd $startdir/src/alsa-plugins-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
mkdir -p $startdir/pkg/etc/profile.d && \
cat >$startdir/pkg/etc/profile.d/alsa.sh <<EOF && \
#!/bin/bash
export ALSA_PLUGINS_DIR=/usr/lib/alsa-lib
EOF
chmod 0755 $startdir/pkg/etc/profile.d/alsa.sh
}