summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:25 +0000
committerfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:25 +0000
commit13aaa22530418488fd508910a6b7c3d80140a4d9 (patch)
treefe1a424df7be96f75d6a70e9de91976826c4e139
parentb74519f9ca05df52323b600f280b587ec0ea498f (diff)
db-move: moved shellcheck from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533080 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--shellcheck/repos/community-staging-x86_64/PKGBUILD46
-rw-r--r--shellcheck/repos/community-x86_64/PKGBUILD2
2 files changed, 1 insertions, 47 deletions
diff --git a/shellcheck/repos/community-staging-x86_64/PKGBUILD b/shellcheck/repos/community-staging-x86_64/PKGBUILD
deleted file mode 100644
index ada6e534ab0..00000000000
--- a/shellcheck/repos/community-staging-x86_64/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars@archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-
-_hkgname=ShellCheck
-pkgname=shellcheck
-pkgver=0.7.0
-pkgrel=61
-pkgdesc="Shell script analysis tool"
-url="https://www.shellcheck.net"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 'haskell-regex-tdfa')
-makedepends=('ghc' 'pandoc')
-source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz")
-sha512sums=('46ef486dff09bd51bdc5f053b1dda9e3f2943c66bbf6788824ddf8fcf3b69b7a3a9c00bf98bca0dee9d57ee6df833ca4088252dbf773815248be0fa667f35215')
-
-build() {
- cd $pkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- --ghc-option='-pie'
- runhaskell Setup build
- 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
-
- pandoc -s -t man shellcheck.1.md -o shellcheck.1
-}
-
-check() {
- cd $pkgname-$pkgver
- runhaskell Setup test
-}
-
-package() {
- cd $pkgname-$pkgver
-
- install -D -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
- install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
- runhaskell Setup copy --destdir="${pkgdir}"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
diff --git a/shellcheck/repos/community-x86_64/PKGBUILD b/shellcheck/repos/community-x86_64/PKGBUILD
index 45c06449510..ada6e534ab0 100644
--- a/shellcheck/repos/community-x86_64/PKGBUILD
+++ b/shellcheck/repos/community-x86_64/PKGBUILD
@@ -4,7 +4,7 @@
_hkgname=ShellCheck
pkgname=shellcheck
pkgver=0.7.0
-pkgrel=60
+pkgrel=61
pkgdesc="Shell script analysis tool"
url="https://www.shellcheck.net"
license=("GPL")