diff options
author | Térence Clastres | 2020-03-24 19:18:28 +0100 |
---|---|---|
committer | Térence Clastres | 2020-03-24 19:18:28 +0100 |
commit | 7cf00d36d2b843cd00bab26748f07e4515d6d6df (patch) | |
tree | 2001df91bd2d68069707be1ecdda08a9ba52a0cf /PKGBUILD | |
parent | f82dd0280975a2134fee73629da9c69a967f3373 (diff) | |
download | aur-7cf00d36d2b843cd00bab26748f07e4515d6d6df.tar.gz |
Install resume script, fix script path, new maintainer
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,9 @@ -# Maintainer: Ranieri Althoff <ranisalt+aur at gmail dot com> +# Maintainer: Térence Clastres <t dot clastres at gmail dot com> +# Contributor: Ranieri Althoff <ranisalt+aur at gmail dot com> + pkgname=amdgpu-clocks-git -pkgver=r14.4cfd488 +pkgver=r28.02492e9 pkgrel=1 pkgdesc='Simple script to control power states of amdgpu driven GPUs' url='https://github.com/sibradzic/amdgpu-clocks' @@ -18,8 +20,15 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "$pkgname" + sed -i 's/\/local//g' amdgpu-clocks.service +} + + package() { cd "$pkgname" install -Dm755 amdgpu-clocks "$pkgdir/usr/bin/amdgpu-clocks" install -Dm644 amdgpu-clocks.service "$pkgdir/usr/lib/systemd/system/amdgpu-clocks.service" + install -Dm755 amdgpu-clocks-resume "$pkgdir/usr/lib/systemd/system-sleep/amdgpu-clocks-resume" } |