summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonidas Spyropoulos2021-04-30 17:15:27 +0100
committerLeonidas Spyropoulos2021-04-30 17:16:50 +0100
commita62ad041a3eb9629c2085d2aad2c0ec2fd98174b (patch)
treeab5a26e1de05bbd2f290d7d15b70e1a46f6991a0
parent7cbeab87a1c2d287988c19bb80e0c5761d7546d3 (diff)
downloadaur-a62ad041a3eb9629c2085d2aad2c0ec2fd98174b.tar.gz
upgpkg: corefreq 1.84-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7962a3be6d4..2272d18488f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = corefreq
pkgver = 1.84
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cyring/CoreFreq
arch = x86_64
license = GPL2
depends = dkms
source = corefreq-1.84.tar.gz::https://github.com/cyring/CoreFreq/archive/1.84.tar.gz
source = dkms.conf
+ source = fix-for-5.12.patch::https://github.com/cyring/CoreFreq/commit/f6a350bafae6cc67ac9a5ec636f126a01c7df0f7.patch
b2sums = c4f956b785ada9a9cfcc508a28e2146cab756cc4da67c25f7c67826e6a921079f95139deadeaae9621231bb982a682db5eee3eec4c760cbf929226aa036a6deb
b2sums = c6d8849944f99195038ac252d010d3e3001cd1dcaee57218c4a7f58fa313aa38842e4ea991d4d9ff7d04063ebaa9900c06ff1eacfa6270341cf37fb752adc00c
+ b2sums = 16d6eb223a4562e6d7bec2f014a3c358e4e141e44e7520bbcb8e805cabfac883a17f54ce82e6d75e3965a7b607697952520c4517ba1195e0481796932933f638
pkgname = corefreq-client
pkgdesc = CoreFreq client
diff --git a/PKGBUILD b/PKGBUILD
index 2f27526c248..3a90f85e57f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,15 +5,22 @@ pkgbase=corefreq
pkgname=(corefreq-client corefreq-server corefreq-dkms)
_gitname=CoreFreq
pkgver=1.84
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://github.com/cyring/CoreFreq'
license=('GPL2')
depends=('dkms')
source=(${pkgbase}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz"
- 'dkms.conf')
+ 'dkms.conf'
+ "fix-for-5.12.patch::https://github.com/cyring/CoreFreq/commit/f6a350bafae6cc67ac9a5ec636f126a01c7df0f7.patch")
b2sums=('c4f956b785ada9a9cfcc508a28e2146cab756cc4da67c25f7c67826e6a921079f95139deadeaae9621231bb982a682db5eee3eec4c760cbf929226aa036a6deb'
- 'c6d8849944f99195038ac252d010d3e3001cd1dcaee57218c4a7f58fa313aa38842e4ea991d4d9ff7d04063ebaa9900c06ff1eacfa6270341cf37fb752adc00c')
+ 'c6d8849944f99195038ac252d010d3e3001cd1dcaee57218c4a7f58fa313aa38842e4ea991d4d9ff7d04063ebaa9900c06ff1eacfa6270341cf37fb752adc00c'
+ '16d6eb223a4562e6d7bec2f014a3c358e4e141e44e7520bbcb8e805cabfac883a17f54ce82e6d75e3965a7b607697952520c4517ba1195e0481796932933f638')
+
+prepare() {
+ cd "${_gitname}-${pkgver}"
+ patch -Np1 < "../fix-for-5.12.patch"
+}
build() {
cd "${_gitname}-${pkgver}"