iglunix/linux/linux-firmware/build.sh

22 lines
416 B
Bash
Raw Normal View History

2021-02-11 11:34:27 +00:00
pkgname=linux-firmware
pkgver=20210208
fetch() {
curl "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210208.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir FIRMWAREDIR="/lib/firmware"
}
license() {
cd $pkgname-$pkgver
cat LICENCE.*
}