blob: 0133636ebe8f1d677e9f09aaf2c3110323a06ec9 (
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
33
34
35
|
# Maintainer: Anselmo L. S. Melo <anselmo.melo@intel.com>
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
}
|