[arch-commits] Commit in hindent/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Wed Jun 21 16:56:17 UTC 2017
Date: Wednesday, June 21, 2017 @ 16:56:16
Author: felixonmars
Revision: 239295
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hindent/repos/community-staging-i686/PKGBUILD
(from rev 239294, hindent/trunk/PKGBUILD)
hindent/repos/community-staging-x86_64/PKGBUILD
(from rev 239294, hindent/trunk/PKGBUILD)
Deleted:
hindent/repos/community-staging-x86_64/PKGBUILD
-----------------------------------+
/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 45 ------------------------------------
3 files changed, 90 insertions(+), 45 deletions(-)
Copied: hindent/repos/community-staging-i686/PKGBUILD (from rev 239294, hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-21 16:56:16 UTC (rev 239295)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hindent
+pkgver=5.2.3
+pkgrel=17
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-descriptive" "haskell-exceptions" "haskell-monad-loops" "haskell-mtl"
+ "haskell-path" "haskell-path-io" "haskell-src-exts" "haskell-text" "haskell-unix-compat"
+ "haskell-utf8-string" "haskell-yaml")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('478c207ffb408e31f15dbc5bf941acdc9116de1c775d393cb59514e4a28354865d808715005a7e6f076b86d4e5f5c0f389059c16d4761ffcec31953d2d88d969')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock --hoogle --html
+ 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"
+ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
+}
Deleted: community-staging-x86_64/PKGBUILD
===================================================================
--- community-staging-x86_64/PKGBUILD 2017-06-21 16:55:05 UTC (rev 239294)
+++ community-staging-x86_64/PKGBUILD 2017-06-21 16:56:16 UTC (rev 239295)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hindent
-pkgver=5.2.3
-pkgrel=17
-pkgdesc="Extensible Haskell pretty printer"
-url="https://github.com/commercialhaskell/hindent"
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-descriptive" "haskell-exceptions" "haskell-monad-loops" "haskell-mtl"
- "haskell-path" "haskell-path-io" "haskell-src-exts" "haskell-text" "haskell-unix-compat"
- "haskell-utf8-string" "haskell-yaml")
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('478c207ffb408e31f15dbc5bf941acdc9116de1c775d393cb59514e4a28354865d808715005a7e6f076b86d4e5f5c0f389059c16d4761ffcec31953d2d88d969')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
- 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"
- install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
- ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
- runhaskell Setup copy --destdir="${pkgdir}"
- install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}
Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 239294, hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-21 16:56:16 UTC (rev 239295)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hindent
+pkgver=5.2.3
+pkgrel=17
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-descriptive" "haskell-exceptions" "haskell-monad-loops" "haskell-mtl"
+ "haskell-path" "haskell-path-io" "haskell-src-exts" "haskell-text" "haskell-unix-compat"
+ "haskell-utf8-string" "haskell-yaml")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('478c207ffb408e31f15dbc5bf941acdc9116de1c775d393cb59514e4a28354865d808715005a7e6f076b86d4e5f5c0f389059c16d4761ffcec31953d2d88d969')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock --hoogle --html
+ 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"
+ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
+}
More information about the arch-commits
mailing list