aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nimble/APKBUILD
blob: e972b400430a171cc41e92e766a2384bb337e82a (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=nimble
pkgver=0.8.10
pkgrel=0
pkgdesc="Package manager for the Nim programming language"
url="https://github.com/nim-lang/nimble"
arch="all !s390x"
license="BSD-3-Clause"
depends="nim"
source="$pkgname-$pkgver.tar.gz::https://github.com/nim-lang/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	nim compile -d:release src/nimble
}

package() {
	cd "$builddir"
	install -D -m 755 src/nimble "$pkgdir"/usr/bin/nimble
}

sha512sums="18128cb28c6f1b1d1bf2dddb287e376404ddf842a3f665ae3dfddb39ad5dc08e7ec0509d6e823cec3eaad3263ec4a5e72d513aae173a50451799a85ef79453b3  nimble-0.8.10.tar.gz"