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)
12 source=(https://github.com/thesofproject/sof-bin/releases/download/$_binver/sof-bin-$_binver.tar.gz)
13 sha256sums=('ce8aaeba103aa56a82662552b0f33f33a859aa1008d8bfbc2c22f0ccfc8c6b3a')
15 package_sof-firmware() {
18 local fwdir="$pkgdir/usr/lib/firmware/intel"
23 cp -at "$fwdir" sof-$_binver
24 ln -sr "$fwdir"/{sof-$_binver,sof}
26 cp -at "$fwdir" sof-tplg-$_binver
27 ln -sr "$fwdir"/{sof-tplg-$_binver,sof-tplg}
29 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
38 install -Dt "$pkgdir/usr/bin" tools-$_binver/*
39 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
42 # vim:set sw=2 sts=-1 et: