mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 00:52:18 +01:00
25 lines
717 B
Plaintext
25 lines
717 B
Plaintext
# 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"
|