mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:54:37 +08:00
33 lines
848 B
Bash
33 lines
848 B
Bash
# Maintainer: almack
|
|
|
|
pkgname=alsa-plugins
|
|
pkgver=1.1.6
|
|
pkgrel=1
|
|
pkgdesc="Extra alsa plugins"
|
|
arch=(x86_64)
|
|
url="http://www.alsa-project.org"
|
|
license=(GPL)
|
|
depends=(alsa-lib)
|
|
makedepends=(libpulse jack ffmpeg)
|
|
optdepends=('libpulse: PulseAudio plugin'
|
|
'jack: Jack plugin'
|
|
'ffmpeg: libavcodec resampling plugin, a52 plugin'
|
|
'libsamplerate: libsamplerate resampling plugin'
|
|
'speex: libspeexdsp resampling plugin')
|
|
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2")
|
|
sha1sums=('a3601513f1a54eaef606744c9c9f4e9d4d44bf40')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -d "$pkgdir/usr/share/doc/$pkgname"
|
|
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
|
|
}
|