iglunix/gui/alsa-sndio/build.sh
2021-09-11 08:24:31 +00:00

23 lines
380 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
gmake PREFIX=/usr
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir PREFIX=/usr
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}