summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvagnum082022-01-19 14:02:17 +0200
committervagnum082022-01-19 14:02:17 +0200
commit1995cb386c2289b15c63a24e1606644b257a5cfb (patch)
tree67383cdce87fbdc8947e691dcd5951aa32d5249a
parentadb54b43bc6008ef19535017605a7411e4a35443 (diff)
downloadaur-cpupower-gui.tar.gz
Edit the sed command to fix meson.build
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c445b5671fd6..9603cdda8be6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cpupower-gui
pkgdesc = A GUI utility to set CPU frequency limits
pkgver = 1.0.0
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/vagnum08/cpupower-gui
install = cpupower_gui.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index df08a37d5cab..2f831c97a68b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cpupower-gui
pkgver=1.0.0
-pkgrel=4
+pkgrel=5
pkgdesc="A GUI utility to set CPU frequency limits"
arch=(any)
url="https://github.com/vagnum08/cpupower-gui"
@@ -20,7 +20,7 @@ source=("${pkgname}_${pkgver}.orig.tar.gz"::"https://github.com/vagnum08/cpupowe
sha256sums=('09f8b9619e974abe00fc06c0d5528b6a36518f6b283b3db338349bada1d51492')
build() {
- sed -i '15d' data/meson.build
+ sed -i '15d' "$srcdir/${pkgname}-${pkgver}/data/meson.build"
meson --prefix /usr -Dsystemddir=/usr/lib/systemd --buildtype=plain "$srcdir/${pkgname}-${pkgver}" build
ninja -C build
}