mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/nimble: new aport
https://github.com/nim-lang/nimble Package manager for the Nim programming language
This commit is contained in:
parent
afe7923c88
commit
1b200391ab
24
testing/nimble/APKBUILD
Normal file
24
testing/nimble/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user