summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96e0d92a89ad7518a4539b1705ec849ef59aa1ba (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
# Maintainer: NexAdn <nexadn@yandex.com>
pkgname="libws2801"
pkgver=1.1.0
pkgrel=1
pkgdesc="C/C++ libaries for the ws2801 led strip using spidev"
arch=("i686" "x86_64" "armv6h" "armv7h" "aarch64")
url="https://gitlab.com/nexadn/libws2801"
license=("GPL")
depends=("boost-libs" "qt5-base")
makedepends=("git" "cmake" "boost")
source=("git+https://gitlab.com/nexadn/libws2801.git")
sha512sums=('SKIP')

build() {
	mkdir -p "$srcdir/libws2801/build"
	cd "$srcdir/libws2801/build"
	git checkout v${pkgver}
	cmake -DCMAKE_INSTALL_PREFIX="/usr" -DNOEXAMPLES=true ..
	make
}

package() {
	cd "$srcdir/libws2801/build"
	make DESTDIR="$pkgdir" install
}