iglunix/gui/alsa-sndio/build.sh

24 lines
380 B
Bash
Raw Normal View History

2021-09-11 08:24:20 +00:00
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
}