Skip to content
Permalink
ffe189f49f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@wwwutz
Latest commit 2c8ef2a Feb 16, 2024 History
- why haskell...
1 contributor

Users who have contributed to this file

executable file 50 lines (38 sloc) 1.29 KB
#!/usr/bin/env beesh
# BEE_VERSION shellcheck-0.9.0-0
# more info: https://foo.bar.com
# SRCURL[0]="https://github.com/koalaman/shellcheck/archive/refs/tags/v0.9.0.tar.gz"
# SRCURL[0]="https://beehive.molgen.mpg.de/f484fff423085f7334a381bb63e4f904/shellcheck-0.9.0.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/62d9a71fc2b85bf5550e5d1810397c10/v0.9.0-99-gd80fdfa.tar.gz"
# PATCHURL+=()
build_in_sourcedir
PATH=$PATH:/usr/local/package/bin
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
CABAL="cabal --config-file=$B/.cabal/config"
mee_configure() {
$CABAL user-config update \
-a "remote-repo-cache: $F/.cabal" \
-a "store-dir: $F/.cabal/store" \
-a "logs-dir: $B/.cabal/logs" \
-a "extra-prog-path: $B/.cabal/bin" \
-a "build-summary: $B/.cabal/logs/build.log" \
-a "installdir: $D/bin" \
-a "builddir: $B" \
-a "world-file: $B/.cabal/world" \
-a "executable-static: True"
}
mee_build() {
$CABAL update
$CABAL configure --prefix="$D"
$CABAL build --enable-static
}
mee_install() {
mkdir -vp "$D"/usr/bin
install -v -m755 "$B"/dist-newstyle/build/x86_64-linux/ghc-9.2.2/ShellCheck-0.9.0/x/shellcheck/build/shellcheck/shellcheck "$D"/usr/bin
}