blob: 27739aaed6973dfcb137d7dc5ea97992d5a82d20 (
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
|
# Maintainer: Florian Loitsch <florian@toit.io>
pkgname='toit-vessels-bin'
_tag="v2.0.0-alpha.174"
_repo="https://github.com/toitlang/toit.git"
_tag_no_dash="${_tag//-/}"
pkgver="${_tag_no_dash#v}"
pkgrel=1
pkgdesc="Toit programming language SDK"
arch=('x86_64')
url="https://toitlang.org"
license=('LGPL')
depends=("toit=$pkgver")
source=("vessels-$pkgver.tar.gz::https://github.com/toitlang/toit/releases/download/$_tag/vessels.tar.gz")
sha256sums=('e8ad240cc427078449934f0e23c1c3257b36616d4555dfa2f5df1ecc0eb2d0a0')
options=(!strip)
build() {
cd "$srcdir"
tar x -vf "vessels-$pkgver.tar.gz"
}
package() {
cd "$srcdir"
mkdir -p "$pkgdir/opt/toit-sdk/vessels"
cp -r vessels/* "$pkgdir/opt/toit-sdk/vessels/"
}
|