milis/talimatname/genel/n/nimble/talimat

20 lines
544 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Nim programlama dili paket yöneticisi
2017-07-22 06:50:09 +02:00
# URL: https://github.com/nim-lang/nimble
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: nim
2017-07-22 06:50:09 +02:00
2017-10-28 14:10:23 +02:00
isim=nimble
surum=0.8.6
devir=1
kaynak=(https://github.com/nim-lang/nimble/archive/v$surum.tar.gz::nimble-$surum.tar.gz)
2017-07-22 06:50:09 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${isim}-${surum}
2017-07-22 06:50:09 +02:00
nim c -d:release src/nimble
install -Dm 755 src/nimble -t "${PKG}/usr/bin"
2017-10-28 14:10:23 +02:00
install -Dm 644 license.txt "${PKG}/usr/share/licenses/${isim}/LICENSE"
cp -r src/nimblepkg "${PKG}/usr/share/${isim}"
ln -s /usr/share/${isim} "${PKG}/usr/bin/nimblepkg"
2017-07-22 06:50:09 +02:00
}