diff options
author | vinibali | 2016-02-18 21:03:20 +0100 |
---|---|---|
committer | vinibali | 2016-02-18 21:03:20 +0100 |
commit | 07aa3cdec78f9975d30bc5b8700e94be1f9e46a6 (patch) | |
tree | 9cf883abffa7305594ffd62cd7b1dc6809e84d8e | |
download | aur-07aa3cdec78f9975d30bc5b8700e94be1f9e46a6.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23e7823dccfd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Thu Feb 18 20:02:51 UTC 2016 +pkgbase = amdctl-git + pkgdesc = Set P-State voltages and clock speeds on recent AMD CPUs on Linux. Currently supported families are: 10h, 11h, 12h, 14h, 15h + pkgver = unknown + pkgrel = 1 + url = https://github.com/kevinlekiller/amdctl + arch = i686 + arch = x86_64 + license = GPLv3 + source = https://github.com/kevinlekiller/amdctl/archive/master.zip + md5sums = 454746d007ec0cbff2efc5764ca6e288 + +pkgname = amdctl-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6a1bb7028691 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: vinibali <vinibali1 at gmail dot com> + +pkgname=amdctl-git +pkgver=unknown +pkgrel=1 +pkgdesc="Set P-State voltages and clock speeds on recent AMD CPUs on Linux. +Currently supported families are: 10h, 11h, 12h, 14h, 15h" +arch=(i686 x86_64) +url="https://github.com/kevinlekiller/amdctl" +license=('GPLv3') +depends=() +source=(https://github.com/kevinlekiller/amdctl/archive/master.zip) +md5sums=(454746d007ec0cbff2efc5764ca6e288) + +build() + { + echo "No build requied, precompiled binary is avaliable" + } + +package() { + + install -Dm755 "${srcdir}"/amdctl-master/amdctl "${pkgdir}"/usr/bin/amdctl + mkdir "${pkgdir}"/etc/ + mkdir "${pkgdir}"/etc/modules-load.d + touch "${pkgdir}"/etc/modules-load.d/tpc.conf + echo "cpuid" > "${pkgdir}"/etc/modules-load.d/tpc.conf + echo "msr" >> "${pkgdir}"/etc/modules-load.d/tpc.conf +} |