Date: Friday, September 16, 2016 @ 12:56:28
  Author: felixonmars
Revision: 189645

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 189644, shellcheck/trunk/PKGBUILD)
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
    (from rev 189644, shellcheck/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   30 ++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   30 ++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: shellcheck/repos/community-staging-i686/PKGBUILD (from rev 189644, 
shellcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-09-16 12:56:28 UTC (rev 189645)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.4.4
+pkgrel=5
+pkgdesc="Shell script analysis tool"
+url="http://www.shellcheck.net";
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('libffi' 'gmp')
+makedepends=("ghc=8.0.1" "haskell-json" "haskell-mtl" "haskell-parsec" 
"haskell-quickcheck"
+             "haskell-regex-tdfa")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha256sums=('6cc50790d25b6f330037c3612c21460aa75839cc32c65e10ea6b35f9f4488768')
+
+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 189644, 
shellcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-09-16 12:56:28 UTC (rev 189645)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.4.4
+pkgrel=5
+pkgdesc="Shell script analysis tool"
+url="http://www.shellcheck.net";
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('libffi' 'gmp')
+makedepends=("ghc=8.0.1" "haskell-json" "haskell-mtl" "haskell-parsec" 
"haskell-quickcheck"
+             "haskell-regex-tdfa")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha256sums=('6cc50790d25b6f330037c3612c21460aa75839cc32c65e10ea6b35f9f4488768')
+
+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}
+}

Reply via email to