summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-23 02:20:24 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-23 02:20:24 -0400
commitba555b8f56ca527a61654951cd6c529216194491 (patch)
treef3980967186e1eadda07eed0084a0cd66010870c /pcr
parent2f9d446e25ff336e68a1f04b8cbc4867477c7e8f (diff)
downloadabslibre-ba555b8f56ca527a61654951cd6c529216194491.tar.gz
abslibre-ba555b8f56ca527a61654951cd6c529216194491.tar.bz2
abslibre-ba555b8f56ca527a61654951cd6c529216194491.zip
db-remove pcr/shellcheck-git
community/shellcheck is newer than the git rev we were building from
Diffstat (limited to 'pcr')
-rw-r--r--pcr/shellcheck-git/PKGBUILD55
1 files changed, 0 insertions, 55 deletions
diff --git a/pcr/shellcheck-git/PKGBUILD b/pcr/shellcheck-git/PKGBUILD
deleted file mode 100644
index 2381048e2..000000000
--- a/pcr/shellcheck-git/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@lukeshu.com>
-# Maintainer (Arch:shellcheck): Felix Yan <felixonmars@archlinux.org>
-# Contributor (Arch:shellcheck): Arch Haskell Team <arch-haskell@haskell.org>
-
-_hkgname=ShellCheck
-_pkgname=shellcheck
-_pkgver=0.4.6
-_gitrev='51e6bf809fc7157b60bdb2c499d6b769b48d0759'
-_gitdate='20171108'
-pkgname=$_pkgname-git
-pkgver="$_pkgver.git$_gitdate"
-provides=("$_pkgname=$pkgver")
-conflicts=("$_pkgname")
-pkgrel=2
-pkgdesc="Shell script analysis tool"
-pkgdesc+=" (latest git commit)"
-url="http://www.shellcheck.net"
-license=("GPL3") # NB: community/shellcheck is erroneously GPL2
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-json" "haskell-mtl" "haskell-parsec" "haskell-quickcheck"
- "haskell-regex-tdfa")
-source=("$_pkgname-$_gitrev.zip::https://github.com/koalaman/$_pkgname/archive/$_gitrev.tar.gz")
-sha512sums=('67a70c91ae7d7f01e522438f54f26db41567a1a6a59fad10739b53960a3469af768e38dd9e610ee188f4422fecf493bf11bf672c95760250c62f78a779eaf2de')
-
-
-build() {
- cd "${srcdir}/${_pkgname}-${_gitrev}"
-
- # NB: community/shellcheck doesn't --disable-library-vanilla; but
- # it's required to build with current ghc/libraries.
- runhaskell Setup configure -O \
- --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${_pkgname}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${_gitrev}"
-
- install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${_pkgname}.sh"
- install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${_pkgname}.sh"
- install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
- ln -s "/usr/share/doc/${_pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
- runhaskell Setup copy --destdir="${pkgdir}"
- rm -f "${pkgdir}/usr/share/doc/${_pkgname}/LICENSE"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}