summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69e75af8b87d9782e13e0820fd84aa7440cd73cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Volker Schatz <arch@my-name-without-hyphen.com>
pkgname=alsacap
pkgver=0
pkgrel=1
pkgdesc="ALSA device capability lister"
depends=('alsa-lib')
arch=('i686' 'x86_64')
license=('custom:ISC')
url="http://www.volkerschatz.com/noise/alsa.html#alsacap"
source=("http://www.volkerschatz.com/noise/$pkgname.tgz")
md5sums=('19642bdffd4666caa53344271aa585e9')

build() {
    cd "$srcdir/$pkgname"
    make
}
package() {
    cd "$srcdir/$pkgname"
    sed -i -e 's!/usr/local!'"$pkgdir/usr"! Makefile
    make install
    install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}