1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgname=(sof-firmware sof-tools)
7 pkgdesc="Sound Open Firmware"
8 url="https://www.sofproject.org/"
10 license=(custom:BSD custom:ISC)
13 source=(https://github.com/thesofproject/sof-bin/releases/download/$_binver/sof-bin-$_binver.tar.gz)
14 sha256sums=('ce8aaeba103aa56a82662552b0f33f33a859aa1008d8bfbc2c22f0ccfc8c6b3a')
16 package_sof-firmware() {
19 local fwdir="$pkgdir/usr/lib/firmware/intel"
24 cp -at "$fwdir" sof-$_binver
25 ln -sr "$fwdir"/{sof-$_binver,sof}
27 cp -at "$fwdir" sof-tplg-$_binver
28 ln -sr "$fwdir"/{sof-tplg-$_binver,sof-tplg}
30 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
39 install -Dt "$pkgdir/usr/bin" tools-$_binver/*
40 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
43 # vim:set sw=2 sts=-1 et: