mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
32 lines
948 B
Bash
32 lines
948 B
Bash
# $Id: PKGBUILD 16443 2010-04-30 08:42:50Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
|
|
|
|
pkgname=alsa-plugins
|
|
pkgver=1.0.24
|
|
pkgrel=1
|
|
pkgdesc="Extra alsa plugins"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.alsa-project.org"
|
|
license=('GPL')
|
|
depends=('alsa-lib>1.0.24')
|
|
makedepends=('pulseaudio' 'jack' 'ffmpeg')
|
|
optdepends=('pulseaudio' 'jack' 'ffmpeg')
|
|
options=('!libtool')
|
|
install=$pkgname.install
|
|
source=(ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$pkgver.tar.bz2)
|
|
md5sums=('e4d4c90e11ab9d1a117afbbc1edd2b16')
|
|
|
|
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
|
|
}
|