blob: 099bda7901e1f3fe3b23f9c998b4027ba29c9a51 (
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
|
# Maintainer: Danilo Pianini
pkgname=opencorsairlink-git
pkgver=20180506
pkgrel=1
pkgdesc="Linux® support for Corsair H100i and other water coolers of the same brand."
arch=('x86_64')
url="https://github.com/audiohacked/OpenCorsairLink"
license=('GPL')
depends=(libusb)
makedepends=(git libdrm pkg-config)
source=(git+https://github.com/audiohacked/OpenCorsairLink#branch=master)
md5sums=(SKIP)
conflicts=()
provides=(opencorsairlink=$pkgver)
pkgver() {
cd $srcdir/OpenCorsairLink
git log -1 --date=short --format=%cd | tr -d \-
}
build() {
cd $srcdir/OpenCorsairLink
echo $LDFLAGS
export LDFLAGS="$LDFLAGS -lm"
echo $LDFLAGS
make
}
package() {
install -D $srcdir/OpenCorsairLink/OpenCorsairLink.elf $pkgdir/usr/bin/OpenCorsairLink
}
|