core/alsa-plugins/PKGBUILD

37 lines
1.0 KiB
Bash
Raw Normal View History

# Maintainer: abveritas@chakra-project.org
2010-09-04 05:53:03 +08:00
pkgname=alsa-plugins
2013-11-11 23:32:38 +08:00
pkgver=1.0.27
pkgrel=1
2010-09-04 05:53:03 +08:00
pkgdesc="Extra alsa plugins"
arch=('x86_64')
2010-09-04 05:53:03 +08:00
url="http://www.alsa-project.org"
license=(GPL)
depends=('alsa-lib')
makedepends=('pulseaudio' 'jack' 'ffmpeg')
optdepends=('jack: Jack plugin'
'ffmpeg: libavcodec resampling plugin'
'libsamplerate: libsamplerate resampling plugin'
'speex: libspeexdsp resampling plugin')
2010-09-04 05:53:03 +08:00
options=('!libtool')
2012-08-29 21:41:07 +08:00
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
"alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch")
2013-11-11 23:32:38 +08:00
md5sums=('ada0163e0e84c787bfc929ad0f3f5cb8'
2012-08-29 21:41:07 +08:00
'07d382f969d0514297e9dbc5f642bbdf')
2011-10-24 07:41:25 +08:00
2010-09-04 05:53:03 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2012-08-29 21:41:07 +08:00
2013-11-11 23:32:38 +08:00
# patch -p1 -i "${srcdir}/alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch"
2010-09-04 05:53:03 +08:00
./configure --prefix=/usr
make
2011-11-07 05:37:44 +08:00
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
2012-08-29 21:41:07 +08:00
install -d "$pkgdir/usr/share/doc/$pkgname"
2011-11-07 05:37:44 +08:00
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
2012-08-29 21:41:07 +08:00
}