diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-24 00:04:31 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-07 23:36:21 +0200 |
commit | 1b200391ab65f52bb9dc2fec0035e19cb9054c0d (patch) | |
tree | 2bedf1d5f778f7e4290f50f68b8b8e684e687b31 /testing/nimble | |
parent | afe7923c88c43e566e4529ef91f464b0eaedcd8c (diff) | |
download | aports-1b200391ab65f52bb9dc2fec0035e19cb9054c0d.tar.bz2 aports-1b200391ab65f52bb9dc2fec0035e19cb9054c0d.tar.xz |
testing/nimble: new aport
https://github.com/nim-lang/nimble
Package manager for the Nim programming language
Diffstat (limited to 'testing/nimble')
-rw-r--r-- | testing/nimble/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/nimble/APKBUILD b/testing/nimble/APKBUILD new file mode 100644 index 0000000000..4718f53e8c --- /dev/null +++ b/testing/nimble/APKBUILD @@ -0,0 +1,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" |