12345678910111213141516171819202122232425 |
- # Tanım: Elm dili geliştirme araçları
- # URL: http://elm-lang.org
- # Paketçi: milisarge
- # Gerekler: stack-static patchelf
- # Grup: geliştirme
- isim=elm-lang
- surum=0.19.0
- devir=1
- kaynak=(https://github.com/elm/compiler/archive/${surum}.tar.gz::elm-compiler-${surum}.tar.gz
- stack.yaml)
- derle() {
- cd "$SRC"
- ln -s /lib64/lib64/ld-linux-x86-64.so.2 /lib/
- ln -sf compiler-${surum} elm-compiler
- mkdir -p .stack
- stack setup --stack-root "$PWD/.stack"
- stack build --stack-root "$PWD/.stack"
- binpath="$(stack path --local-install-root)/bin"
- patchelf --shrink-rpath "$binpath/elm"
- install -Dm755 "$binpath/elm" "$PKG/usr/bin/elm"
- install -Dm644 "elm-compiler/LICENSE" "$PKG/usr/share/licenses/elm-platform/LICENSE"
- }
|