aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nimble/APKBUILD
blob: 4718f53e8c6ec311f9cca5141b3ed8a89825364f (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.6
pkgrel=0
pkgdesc="Package manager for the Nim programming language"
url="https://github.com/nim-lang/nimble"
arch="all"
license="BSD3"
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="4d8fc1e49d3bc981cab91ce7c4c368b33b437df317f3d0ae40cab22d51a4d4c3c1270dcca1f3798a69b8b3cfe8f50752ae77bf09ca744543932c99d3622329d6  nimble-0.8.6.tar.gz"