[arch-commits] Commit in hlint/repos (6 files)
Felix Yan
fyan at archlinux.org
Fri Dec 25 02:43:36 UTC 2015
Date: Friday, December 25, 2015 @ 03:43:36
Author: fyan
Revision: 154463
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
hlint/repos/community-testing-i686/
hlint/repos/community-testing-i686/PKGBUILD
(from rev 154462, hlint/trunk/PKGBUILD)
hlint/repos/community-testing-i686/hlint.install
(from rev 154462, hlint/trunk/hlint.install)
hlint/repos/community-testing-x86_64/
hlint/repos/community-testing-x86_64/PKGBUILD
(from rev 154462, hlint/trunk/PKGBUILD)
hlint/repos/community-testing-x86_64/hlint.install
(from rev 154462, hlint/trunk/hlint.install)
----------------------------------------+
community-testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
community-testing-i686/hlint.install | 18 ++++++++++++++++++
community-testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
community-testing-x86_64/hlint.install | 18 ++++++++++++++++++
4 files changed, 98 insertions(+)
Copied: hlint/repos/community-testing-i686/PKGBUILD (from rev 154462, hlint/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-12-25 02:43:36 UTC (rev 154463)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hlint
+pkgver=1.9.25
+pkgrel=4
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs"
+ "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate"
+ "haskell-refact")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('df91b43493f0c408fc6b7f9a1f65802e9dc49ff5c126b5b8f8464d8db7443f95')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ -fgpl -fthreaded
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -r "$pkgdir"/usr/{lib,share}
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: hlint/repos/community-testing-i686/hlint.install (from rev 154462, hlint/trunk/hlint.install)
===================================================================
--- community-testing-i686/hlint.install (rev 0)
+++ community-testing-i686/hlint.install 2015-12-25 02:43:36 UTC (rev 154463)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/hlint
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
Copied: hlint/repos/community-testing-x86_64/PKGBUILD (from rev 154462, hlint/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-12-25 02:43:36 UTC (rev 154463)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hlint
+pkgver=1.9.25
+pkgrel=4
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs"
+ "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate"
+ "haskell-refact")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('df91b43493f0c408fc6b7f9a1f65802e9dc49ff5c126b5b8f8464d8db7443f95')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ -fgpl -fthreaded
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -r "$pkgdir"/usr/{lib,share}
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: hlint/repos/community-testing-x86_64/hlint.install (from rev 154462, hlint/trunk/hlint.install)
===================================================================
--- community-testing-x86_64/hlint.install (rev 0)
+++ community-testing-x86_64/hlint.install 2015-12-25 02:43:36 UTC (rev 154463)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/hlint
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
More information about the arch-commits
mailing list