diff options
author | haawda | 2020-03-29 17:14:46 +0200 |
---|---|---|
committer | haawda | 2020-03-29 17:14:46 +0200 |
commit | 49002b8b5b26215c5cd681a0d0f133a630e2ea5c (patch) | |
tree | 1e0c681cbbcfdf11a32eac102c2797b218fe97b3 | |
parent | 0bdc0cf9cbed7bc6f52371efd0c04c310d9699a0 (diff) | |
download | aur-49002b8b5b26215c5cd681a0d0f133a630e2ea5c.tar.gz |
some simplifications
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -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 @@ -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 } |