# Maintainer: Anselmo L. S. Melo pkgdesc="Soletta project is a framework for making IoT devices." arch=('i686' 'x86_64') url="http://github.com/solettaproject/soletta" license=('Apache') depends=('python>=3.4' 'python-jsonschema' 'icu' 'curl' 'systemd' 'pcre' 'libmicrohttpd>=0.9.43') makedepends=('git' 'python>=3.4' 'python-jsonschema') optdepends=('gtk3' 'mosquitto') pkgname=soletta pkgver=1 pkgrel=2 checkdepends=() conflicts=('soletta-git') source=("https://github.com/solettaproject/soletta/archive/v$pkgver.tar.gz" "https://github.com/solettaproject/duktape-release/archive/v1_beta2.tar.gz" "https://codeload.github.com/01org/tinycbor/tar.gz/f0791a2a12599c82e9b65f2923eb1cdd6c141e5d") md5sums=('ef202114cedbea1cd89573f9490e93a7' '69195d623d739158ecb055aeb02fd77b' '5ebd7c2a5f092a1a6ef0704d6121ae04') prepare() { cp -r duktape-release-1_beta2/* "$pkgname-$pkgver"/src/thirdparty/duktape/ cp -r tinycbor-f0791a2a12599c82e9b65f2923eb1cdd6c141e5d/* "$pkgname-$pkgver"/src/thirdparty/tinycbor/ } build() { cd "$pkgname-$pkgver" make alldefconfig make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }