Date: Thursday, January 21, 2016 @ 06:23:58 Author: fyan Revision: 158373
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: shellcheck/repos/community-staging-i686/ shellcheck/repos/community-staging-i686/PKGBUILD (from rev 158372, shellcheck/trunk/PKGBUILD) shellcheck/repos/community-staging-x86_64/ shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 158372, shellcheck/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: shellcheck/repos/community-staging-i686/PKGBUILD (from rev 158372, shellcheck/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-01-21 05:23:58 UTC (rev 158373) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=ShellCheck +pkgname=shellcheck +pkgver=0.4.3 +pkgrel=3 +pkgdesc="Shell script analysis tool" +url="http://www.shellcheck.net" +license=("GPL") +arch=('i686' 'x86_64') +depends=('libffi' 'gmp') +makedepends=("ghc=7.10.3" "haskell-json" "haskell-mtl" "haskell-parsec" "haskell-quickcheck" + "haskell-regex-tdfa") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha256sums=('df71c303c43ae79846c9f9198a4d4ba2c4c2ee4c06974491d7130fcea0b8efdf') + +build() { + cd "${srcdir}/${_hkgname}-${pkgver}" + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${_hkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + # Remove library and doc (license only) + rm -r "$pkgdir"/usr/{lib,share} +} Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 158372, shellcheck/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-01-21 05:23:58 UTC (rev 158373) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=ShellCheck +pkgname=shellcheck +pkgver=0.4.3 +pkgrel=3 +pkgdesc="Shell script analysis tool" +url="http://www.shellcheck.net" +license=("GPL") +arch=('i686' 'x86_64') +depends=('libffi' 'gmp') +makedepends=("ghc=7.10.3" "haskell-json" "haskell-mtl" "haskell-parsec" "haskell-quickcheck" + "haskell-regex-tdfa") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha256sums=('df71c303c43ae79846c9f9198a4d4ba2c4c2ee4c06974491d7130fcea0b8efdf') + +build() { + cd "${srcdir}/${_hkgname}-${pkgver}" + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${_hkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + # Remove library and doc (license only) + rm -r "$pkgdir"/usr/{lib,share} +}