git » linux-firmware.git » commit 1353b6a

install license file for amd-ucode

author Christian Hesse
2018-08-25 08:24:03 UTC
committer Christian Hesse
2018-08-25 08:24:03 UTC
parent b02ea4c7f2adbf667e4347b77e71593626468e67

install license file for amd-ucode

PKGBUILD +2 -1

diff --git a/PKGBUILD b/PKGBUILD
index 60c089f..02d41fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=linux-firmware
 pkgname=(linux-firmware amd-ucode)
 _commit=1d17c18226c2ddf5bc127b3f934cfa88e0c0c29f # master
 pkgver=20180821.1d17c18
-pkgrel=2
+pkgrel=3
 pkgdesc="Firmware files for Linux"
 makedepends=('git')
 arch=('any')
@@ -74,6 +74,7 @@ package_amd-ucode() {
   pkgdesc='Microcode update files for AMD CPUs'
 
   install -D -m0644 amd-ucode.img "${pkgdir}"/boot/amd-ucode.img  
+  install -D -m0644 "${srcdir}/${pkgbase}/LICENSE.amd-ucode" "${pkgdir}/usr/share/licenses/amd-ucode/LICENSE"
 }
 
 # vim:set ts=2 sw=2 et: