aboutsummaryrefslogtreecommitdiffstats
path: root/testing/open-zwave-control-panel/APKBUILD
blob: 4f9ee0bce49e8a7997ecde5caca65a78acb2f542 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=open-zwave-control-panel
pkgver=20170321
_sha=bbbd461c5763faab4949b12da12901f2d6f00f48
pkgrel=0
pkgdesc="The OpenZWave Control Panel"
url="https://github.com/OpenZWave/open-zwave-control-panel"
arch="all"
license="custom"
depends=""
makedepends="libmicrohttpd-dev openzwave-dev tinyxml-dev gnutls-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenZWave/open-zwave-control-panel/archive/$_sha.tar.gz
	makefile.patch
	"
builddir="$srcdir/$pkgname-$_sha"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -Dm755 ozwcp "$pkgdir"/usr/bin/ozwcp || return 1
	for i in *.js *.html; do
		install -Dm644 $i "$pkgdir/usr/share/$pkgname/$i" || return 1
	done
}

sha512sums="b688dec8b2a281f233e05e34e90923ed7848e930625dad19e44ece70cd2a1abe3bb23030fc528ef78e1b37e33068973f1b1637319d299d8d88a0328a41b2bff0  open-zwave-control-panel-20170321.tar.gz
8540d69445526834b39c6fc670de7d4c4e3cbf6ce007b776a4fa6f8ccf018aaf330f87894343797831292dc85efb7a7d371da691a1e4f4d3c59b63d10d2c139a  makefile.patch"