summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 204f8254f9babaf0fb58c5ce6642834dd581bfc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Yiyao Yu <yuydevel at protonmail com>

_pkgname=dptfxtract
pkgname="${_pkgname}-static-bin"
pkgver=1.4.4
pkgrel=1
pkgdesc="Intel's Linux DPTF Extract Utility for generating thermald's thermal_conf.xml (Statically linked version)"
arch=('x86_64')
url="https://github.com/intel/dptfxtract"
license=('custom:Binary License')
provides=('dptfxtract')
conflicts=('dptfxtract')
depends=('thermald')
_commit="015f8e845fd9f201d7b9ccb72024da0623cb0514"  # v1.4.4
source=("https://github.com/intel/dptfxtract/raw/$_commit/dptfxtract-static"
        "https://github.com/intel/dptfxtract/raw/$_commit/COPYING")
sha256sums=("9bf19710a7922d06eb8529b2bcacb358c5c616fff7e53a2d75734aa45da9781c"
            "f4005b643f5bb944ecd864992e8b4699dd97cb8086301a198be1bcb0728415f0")

package() {
  install -Dm 755 'dptfxtract-static' "${pkgdir}/usr/bin/dptfxtract"
  install -Dm 644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}