[arch-commits] Commit in sof-bin/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jun 22 21:46:06 UTC 2021


    Date: Tuesday, June 22, 2021 @ 21:46:06
  Author: heftig
Revision: 418626

archrelease: copy trunk to extra-x86_64

Added:
  sof-bin/repos/extra-x86_64/
  sof-bin/repos/extra-x86_64/PKGBUILD
    (from rev 418625, sof-bin/trunk/PKGBUILD)

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

Copied: sof-bin/repos/extra-x86_64/PKGBUILD (from rev 418625, sof-bin/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-06-22 21:46:06 UTC (rev 418626)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgbase=sof-bin
+pkgname=(sof-firmware sof-tools)
+pkgver=1.8
+pkgrel=1
+pkgdesc="Sound Open Firmware"
+url="https://www.sofproject.org/"
+arch=(x86_64)
+license=(custom:BSD custom:ISC)
+makedepends=(rsync)
+source=(https://github.com/thesofproject/$pkgbase/releases/download/v$pkgver/$pkgbase-v$pkgver.tar.gz)
+sha256sums=('cc9ed7b24a892c8b16ac95e0f12d3d6ddab1d71758060c73d1296803dc4e8cff')
+
+package_sof-firmware() {
+  options=(!strip)
+
+  cd $pkgbase-v$pkgver
+
+  (
+    export FW_DEST="$pkgdir/usr/lib/firmware/intel"
+    export TOOLS_DEST="$srcdir/tools/usr/bin"
+
+    mkdir -p "$FW_DEST" "$TOOLS_DEST"
+    ./install.sh v$pkgver
+  )
+
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
+}
+
+package_sof-tools() {
+  pkgdesc+=" - tools"
+  depends=(alsa-lib)
+
+  cd $pkgbase-v$pkgver
+
+  mv "$srcdir"/tools/* "$pkgdir"
+
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENCE* Notice*
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list