upgpkg: sbcl 2.2.11-1
[arch-packages.git] / alsa-utils / repos / extra-x86_64 / PKGBUILD
blob103296624d9e20971a1393b71bc1c1aa9904da58
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
5 pkgname=alsa-utils
6 pkgver=1.2.8
7 pkgrel=1
8 pkgdesc="Advanced Linux Sound Architecture - Utilities"
9 arch=(x86_64)
10 url="https://www.alsa-project.org"
11 license=(GPL2)
12 depends=(glibc pciutils psmisc)
13 makedepends=(alsa-lib docbook-xsl fftw libsamplerate ncurses python-docutils
14 systemd xmlto)
15 optdepends=('fftw: for alsabat')
16 # we require /var/lib/alsa for state file
17 options=(debug emptydirs)
18 source=(https://www.alsa-project.org/files/pub/utils/$pkgname-$pkgver.tar.bz2{,.sig})
19 sha512sums=('882e6f67467596ed273bf554fcce87d8ef287806bbdabd6c103de4980981f9e2102fb3800c6e8628ee8e86ffb165c1c92f9370c8145f28a6cb7cca563942330b'
20             'SKIP')
21 b2sums=('4b9676957e775be51076b4798dfd384db4eea440c682899024034d3dd593ba24f1d42b8d742c312e041a37f0dbbc12b16635d79f6e6633a3459cc21f80739b5e'
22         'SKIP')
23 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
25 prepare() {
26   cd $pkgname-$pkgver
27   autoreconf -fiv
30 build() {
31   cd $pkgname-$pkgver
32   ./configure \
33     --prefix=/usr \
34     --disable-alsaconf \
35     --sbindir=/usr/bin \
36     --with-udev-rules-dir=/usr/lib/udev/rules.d \
37     --with-systemdsystemunitdir=/usr/lib/systemd/system
38   make
41 check() {
42   make -k check -C $pkgname-$pkgver
45 package() {
46   depends+=(libasound.so libatopology.so libformw.so libmenuw.so libncursesw.so
47   libpanelw.so libsamplerate.so)
49   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
50   install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
51   # dir where to save ALSA state
52   install -vdm 755 "$pkgdir/var/lib/alsa/"