blob: 5a94b93c19b114991a7c26f6dad8d72b9f0f6dc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: marazmista <marazmista@tuta.io>
pkgname=radeon-profile-daemon-git
pkgbase=radeon-profile-daemon-git
pkgver=20190603.r0.g7923bd6
pkgrel=2
pkgdesc="System daemon for radeon-profile"
url="http://github.com/marazmista/radeon-profile-daemon"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('qt5-base' 'radeon-profile')
makedepends=('git')
optdepends=('xf86-video-ati: radeon driver'
'xf86-video-amdgpu: amdgpu driver')
provides=('radeon-profile-daemon')
source=('git+https://github.com/marazmista/radeon-profile-daemon.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/radeon-profile-daemon/"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
mkdir -p build
cd build
qmake-qt5 "../radeon-profile-daemon/radeon-profile-daemon/"
make
}
package() {
install -Dm644 "$srcdir/build/target/radeon-profile-daemon" "$pkgdir/usr/bin/radeon-profile-daemon"
chmod +x "$pkgdir/usr/bin/radeon-profile-daemon"
install -Dm644 "$srcdir/radeon-profile-daemon/radeon-profile-daemon/extra/radeon-profile-daemon.service" "$pkgdir/usr/lib/systemd/system/radeon-profile-daemon.service"
}
|