summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02dd2529f786514571e879a93756a42c2508268c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Scias < shining -dot- scias \at\ gmail #dot# com>
pkgname=msi-rgb
pkgver=0.1.0
pkgrel=1
pkgdesc="Utility for controlling the RGB LEDs on MSI motherboards"
arch=('i686' 'x86_64')
url="https://github.com/nagisa/msi-rgb"
license=('ISC')
makedepends=('rust')
source=("$pkgname"::'git+https://github.com/nagisa/msi-rgb')
md5sums=('SKIP')

build() {
        cd "$pkgname"
        cargo build --release
}

package() {
        mkdir -p "$pkgdir/usr/bin"
        cp "$pkgname/target/release/msi-rgb" "$pkgdir/usr/bin"
}