2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Nim programlama dili paket yöneticisi
|
|
|
|
|
# URL: https://github.com/nim-lang/nimble
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: nim
|
2018-08-02 09:14:40 +02:00
|
|
|
|
# Grup: geliştirme
|
2018-06-09 00:06:58 +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)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd ${isim}-${surum}
|
|
|
|
|
nim c -d:release src/nimble
|
|
|
|
|
install -Dm 755 src/nimble -t "${PKG}/usr/bin"
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
}
|