[arch-commits] Commit in hlint/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Dec 1 08:17:45 UTC 2017
Date: Friday, December 1, 2017 @ 08:17:44
Author: felixonmars
Revision: 270904
archrelease: copy trunk to community-testing-x86_64
Added:
hlint/repos/community-testing-x86_64/PKGBUILD
(from rev 270903, hlint/trunk/PKGBUILD)
Deleted:
hlint/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-01 08:17:21 UTC (rev 270903)
+++ PKGBUILD 2017-12-01 08:17:44 UTC (rev 270904)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hlint
-pkgver=2.0.10
-pkgrel=5
-pkgdesc="Source code suggestions"
-url="http://community.haskell.org/~ndm/hlint/"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 'haskell-cpphs'
- 'haskell-data-default' 'haskell-extra' 'haskell-hscolour' 'haskell-refact'
- 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-text' 'haskell-uniplate'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
-conflicts=('haskell-hlint')
-replaces=('haskell-hlint')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('f5fd59041bef8f5dd087e4f4b9a393c015266cae4543c3eaedafbf67f883bf6fcda32c75afdf07339ddb2dffac3cb36b74bc3fb7fa09f22aa2be7caea7a8c5c2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- -fgpl -fthreaded
- 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
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- 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}"
- install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
-}
Copied: hlint/repos/community-testing-x86_64/PKGBUILD (from rev 270903, hlint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-01 08:17:44 UTC (rev 270904)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hlint
+pkgver=2.0.11
+pkgrel=1
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-hscolour' 'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-text' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4a7737864ddbcdc0e90f175514b67d77ad9ac96510fc23e16c98340099d64c1b2274f5d0f145f1ac867bf883d81600aeabd2ee2704c2de3cb7c913aa9626c7c9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ -fgpl -fthreaded
+ 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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ 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}"
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
More information about the arch-commits
mailing list