diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 14 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..335ec9573de5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.gz @@ -1,25 +1,30 @@ # Maintainer: Nick Cao <nickcao@nichi.co> -pkgname='dptf' -pkgver='8.4.10401' -pkgrel=3 +pkgname=dptf +pkgver=8.4.10401 +pkgrel=4 pkgdesc='Intel (R) Dynamic Platform and Thermal Framework (Intel (R) DPTF)' arch=('x86_64') url='https://github.com/intel/dptf' license=('custom') depends=('readline') makedepends=('cmake') -source=('https://github.com/intel/dptf/archive/8.4.10401.tar.gz') -md5sums=('SKIP') +source=('https://github.com/intel/dptf/archive/8.4.10401.tar.gz' + 'DPTF.patch' + 'ESIF_UF.patch' + ) +md5sums=('707632f2943e838f379d20a5076fb722' + '21d5ace7fd8bc7d16baa77695904a9d0' + '8d9cf347bc11bca7d0380ff35a5f5ebc') prepare(){ mv $srcdir/dptf-8.4.10401 $srcdir/dptf - patch $srcdir/dptf/DPTF/Linux/CMakeLists.txt ../DPTF.patch - patch $srcdir/dptf/ESIF/Products/ESIF_UF/Linux/Makefile ../ESIF_UF.patch + patch $srcdir/dptf/DPTF/Linux/CMakeLists.txt $srcdir/DPTF.patch + patch $srcdir/dptf/ESIF/Products/ESIF_UF/Linux/Makefile $srcdir/ESIF_UF.patch } build() { cd $srcdir/dptf/DPTF/Linux/build cmake .. - make -j`nproc` + make cd $srcdir/dptf/ESIF/Products/ESIF_UF/Linux make cd $srcdir/dptf/ESIF/Products/ESIF_CMP/Linux |