milis/talimatname/genel/n/nimble/talimat

20 lines
554 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Nim programlama dili paket yöneticisi
# URL: https://github.com/nim-lang/nimble
# Paketçi: milisarge
# Gerekler: nim
name=nimble
version=0.8.6
release=1
source=(https://github.com/nim-lang/nimble/archive/v$version.tar.gz::nimble-$version.tar.gz)
derle() {
cd ${name}-${version}
nim c -d:release src/nimble
install -Dm 755 src/nimble -t "${PKG}/usr/bin"
install -Dm 644 license.txt "${PKG}/usr/share/licenses/${name}/LICENSE"
cp -r src/nimblepkg "${PKG}/usr/share/${name}"
ln -s /usr/share/${name} "${PKG}/usr/bin/nimblepkg"
}