iglunix/gui/alsa-sndio/build.sh
2022-08-29 19:06:38 +02:00

23 lines
404 B
Bash

pkgname=alsa-sndio
pkgver=0.2
fetch() {
curl -L "https://github.com/Duncaen/alsa-sndio/archive/refs/tags/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
bad --gmake gmake PREFIX=/usr
}
package() {
cd $pkgname-$pkgver
bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}