[arch-commits] Commit in shellcheck/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Apr 30 01:16:04 UTC 2016
Date: Saturday, April 30, 2016 @ 03:16:04
Author: fyan
Revision: 172846
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 172845, shellcheck/trunk/PKGBUILD)
shellcheck/repos/community-staging-x86_64/
shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 172845, 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 172845, shellcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-30 01:16:04 UTC (rev 172846)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.4.3
+pkgrel=5
+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 172845, shellcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-30 01:16:04 UTC (rev 172846)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.4.3
+pkgrel=5
+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}
+}
More information about the arch-commits
mailing list