diff options
author | git user | 2023-07-13 21:55:27 +0200 |
---|---|---|
committer | git user | 2023-07-13 21:55:27 +0200 |
commit | 6c36554c4a1b4ccd031d54cba85dffce3fe2922e (patch) | |
tree | ff861c02e400f987c274151256572c032731e594 | |
parent | 8a08527268389c4a683fd4c487f83799840a7e97 (diff) | |
download | aur-6c36554c4a1b4ccd031d54cba85dffce3fe2922e.tar.gz |
Some fixes.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 20 insertions, 12 deletions
@@ -1,14 +1,13 @@ pkgbase = dptf pkgdesc = Intel (R) Dynamic Platform and Thermal Framework (Intel (R) DPTF) - pkgver = 8.8.10200 + pkgver = 9.0.11363 pkgrel = 1 url = https://github.com/intel/dptf arch = x86_64 license = custom makedepends = cmake depends = readline - source = dptf-8.8.10200.tar.gz::https://github.com/intel/dptf/archive/8.8.10200.tar.gz - sha256sums = 9fe1690484ba3e85d3e39db3fbfadd78f5a795540c35b1a710bae38cb0aa5e49 + source = dptf-9.0.11363.tar.gz::https://github.com/intel/dptf/archive/9.0.11363.tar.gz + sha256sums = eeac4e52230742e3d3e8d12d65013dce47032348e30ce21302fa08fe92c4fb78 pkgname = dptf - @@ -1,5 +1,6 @@ +# Maintainer: <none> pkgname=dptf -pkgver=8.8.10200 +pkgver=9.0.11363 pkgrel=1 pkgdesc='Intel (R) Dynamic Platform and Thermal Framework (Intel (R) DPTF)' arch=('x86_64') @@ -8,16 +9,19 @@ license=('custom') depends=('readline') makedepends=('cmake') source=("dptf-$pkgver.tar.gz::https://github.com/intel/dptf/archive/$pkgver.tar.gz") -sha256sums=('9fe1690484ba3e85d3e39db3fbfadd78f5a795540c35b1a710bae38cb0aa5e49') +sha256sums=('eeac4e52230742e3d3e8d12d65013dce47032348e30ce21302fa08fe92c4fb78') build() { cd "$srcdir/$pkgname-$pkgver" - export CXXFLAGS="${CXXFLAGS} -Wno-error=catch-value -Wno-error=stringop-truncation -ffile-prefix-map='$srcdir/$pkgname-$pkgver'=" - export CFLAGS="${CFLAGS} -Wno-error=format-truncation -Wno-error=format-overflow -ffile-prefix-map='$srcdir/$pkgname-$pkgver'=" + export CXXFLAGS="${CXXFLAGS} -Wno-error=catch-value -Wno-error=stringop-truncation -Wno-error=overloaded-virtual -ffile-prefix-map='$srcdir/$pkgname-$pkgver'=" + export CFLAGS="${CFLAGS} -Wno-error=format-truncation -Wno-error=format-overflow -Wno-error=overloaded-virtual -ffile-prefix-map='$srcdir/$pkgname-$pkgver'=" pushd DPTF/Linux/build - cmake .. + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. make popd @@ -33,8 +37,9 @@ build() { make popd - cd ESIF/Packages/Installers/linux - sed -i 's/^description/Description/' dptf.service + pushd IPF/Linux + make + popd } package() { @@ -45,5 +50,9 @@ package() { install -Dm644 ESIF/Packages/DSP/dsp.dv "$pkgdir/etc/dptf/dsp.dv" install -Dm755 ESIF/Products/ESIF_UF/Linux/esif_ufd "$pkgdir/usr/bin/esif_ufd" install -Dm644 ESIF/Packages/Installers/linux/dptf.service "$pkgdir/usr/lib/systemd/system/dptf.service" - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + install -Dvm644 README.txt "${pkgdir}/usr/share/doc/${_pkgname}/README.txt" + install -Dvm644 security.md "${pkgdir}/usr/share/doc/${_pkgname}/security.md" + install -Dvm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" + ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/doc/${_pkgname}/LICENSE.txt" } |