summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-03-29 17:14:46 +0200
committerhaawda2020-03-29 17:14:46 +0200
commit49002b8b5b26215c5cd681a0d0f133a630e2ea5c (patch)
tree1e0c681cbbcfdf11a32eac102c2797b218fe97b3
parent0bdc0cf9cbed7bc6f52371efd0c04c310d9699a0 (diff)
downloadaur-49002b8b5b26215c5cd681a0d0f133a630e2ea5c.tar.gz
some simplifications
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b75b3dcc28f9..3e6012c450d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clockthrottle
pkgdesc = Utility program to adjust the max. CPU clock speed
pkgver = 1.1
- pkgrel = 1
+ pkgrel = 2
url = https://kornelix.net/clockthrottle/clockthrottle.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 96d902e5e42c..79697c44319b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=clockthrottle
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Utility program to adjust the max. CPU clock speed"
url="https://kornelix.net/$pkgname/$pkgname.html"
arch=('i686' 'x86_64')
@@ -15,12 +15,11 @@ options=('!emptydirs')
build() {
cd $pkgname
sed -i 's+xdg-deskto+#xdg-deskto+' Makefile
- PREFIX=/usr LDFLAGS+="-lpthread" make
+ PREFIX=/usr make
}
package() {
cd $pkgname
install -d "$pkgdir"/usr/share/applications
- make DESTDIR="$pkgdir" ICONDIR=/usr/share/pixmaps install
- sed -i 's+/usr/share/dkopp/icons/++' "$pkgdir"/usr/share/applications/$pkgname.desktop
+ make DESTDIR="$pkgdir" ICONDIR=/usr/share/pixmaps install
}