[arch-commits] Commit in haskell-aeson/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 21 16:32:57 UTC 2018
Date: Monday, May 21, 2018 @ 16:32:56
Author: felixonmars
Revision: 326338
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 326337, haskell-aeson/trunk/PKGBUILD)
Deleted:
haskell-aeson/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 16:32:30 UTC (rev 326337)
+++ PKGBUILD 2018-05-21 16:32:56 UTC (rev 326338)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-
-pkgname=haskell-aeson
-_hkgname=aeson
-pkgver=1.3.1.1
-pkgrel=2
-pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance."
-url="https://github.com/bos/aeson"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-compat' 'haskell-dlist' 'haskell-hashable'
- 'haskell-scientific' 'haskell-tagged' 'haskell-th-abstraction' 'haskell-time-locale-compat'
- 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector')
-makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-integer-logarithms'
- 'haskell-base-orphans' 'haskell-base16-bytestring' 'haskell-generic-deriving'
- 'haskell-hashable-time' 'haskell-tasty' 'haskell-tasty-hunit'
- 'haskell-tasty-quickcheck' 'haskell-quickcheck-instances')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
-sha512sums=('ab506e0aa453542c1b609e65d36ed56758c43b772c1eaa13274bf4f9e72366bdf02ba31de0a7a8673c7a0d200837dd0192e1269fbe51d3b7d0149dce6d0f6968')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/<.*2.11/<3/' $_hkgname.cabal
-}
-
-build() {
- cd $_hkgname-$pkgver
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- -f-developer -f-fast -f-bytestring-builder -f-cffi
- 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
-}
-
-check() {
- cd $_hkgname-$pkgver
- runhaskell Setup test
-}
-
-package() {
- cd $_hkgname-$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"
- rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
-}
Copied: haskell-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 326337, haskell-aeson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 16:32:56 UTC (rev 326338)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgname=haskell-aeson
+_hkgname=aeson
+pkgver=1.3.1.1
+pkgrel=3
+pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance."
+url="https://github.com/bos/aeson"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-compat' 'haskell-dlist' 'haskell-hashable'
+ 'haskell-scientific' 'haskell-tagged' 'haskell-th-abstraction' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-integer-logarithms'
+ 'haskell-base-orphans' 'haskell-base16-bytestring' 'haskell-generic-deriving'
+ 'haskell-hashable-time' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
+sha512sums=('ab506e0aa453542c1b609e65d36ed56758c43b772c1eaa13274bf4f9e72366bdf02ba31de0a7a8673c7a0d200837dd0192e1269fbe51d3b7d0149dce6d0f6968')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/<.*2.11/<3/' $_hkgname.cabal
+}
+
+build() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-developer -f-fast -f-bytestring-builder -f-cffi
+ 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
+}
+
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
+package() {
+ cd $_hkgname-$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"
+ rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list