Date: Monday, November 25, 2019 @ 21:59:37
  Author: heftig
Revision: 369770

1.3.1-1

Added:
  sof-firmware/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-11-25 21:59:37 UTC (rev 369770)
@@ -0,0 +1,25 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=sof-firmware
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Sound Open Firmware"
+arch=(any)
+url="https://www.sofproject.org/";
+license=(custom:BSD custom:ISC)
+options=(!strip)
+makedepends=(diffutils)
+source=(ftp://ftp.alsa-project.org/pub/misc/sof/$pkgname-$pkgver.tar.bz2)
+sha256sums=('1c708d24d39bcbc9979d7acab7fc4a922f88b1c96f40595723446697cf3e0b7e')
+
+prepare() {
+  cd usr/lib/firmware/intel
+  diff -u sof{,-tplg}/LICENCE
+  mv sof/LICENCE "$srcdir/LICENSE"
+  rm sof-tplg/LICENCE
+}
+
+package() {
+  cp -r usr "$pkgdir"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}

Reply via email to