summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 093684feff341a77468021a2c918e1f086cfc711 (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
# Maintainer: Adam Honse <calcprogrammer10@gmail.com>
pkgname=openrgb-plugin-skin-git
pkgver=0.9.7.g20aeaf0
pkgrel=1
pkgdesc="Skin plugin for OpenRGB"
arch=('any')
url="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin"
license=('GPL-2.0-only')
depends=('qt5-tools' 'openrgb')
makedepends=('git')
provides=('openrgb-plugin-skin')
conflicts=('openrgb-plugin-skin')
source=("git+https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin.git")
sha256sums=('SKIP')

pkgver() {
    cd OpenRGBSkinPlugin
    qmake OpenRGBSkinPlugin.pro 2>&1 | grep VERSION_AUR | cut -d ':' -f 3 | tr -d ' '
}

build() {
    cd "$srcdir/OpenRGBSkinPlugin"
    git submodule update --init --recursive
    qmake OpenRGBSkinPlugin.pro PREFIX=/usr/
    make
}

package() {
    cd OpenRGBSkinPlugin
    make INSTALL_ROOT="$pkgdir" install
}