Date: Wednesday, August 30, 2017 @ 07:53:22
  Author: felixonmars
Revision: 254747

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-sbv/repos/community-staging-i686/
  haskell-sbv/repos/community-staging-i686/PKGBUILD
    (from rev 254746, haskell-sbv/trunk/PKGBUILD)
  haskell-sbv/repos/community-staging-x86_64/
  haskell-sbv/repos/community-staging-x86_64/PKGBUILD
    (from rev 254746, haskell-sbv/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: haskell-sbv/repos/community-staging-i686/PKGBUILD (from rev 254746, 
haskell-sbv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-08-30 07:53:22 UTC (rev 254747)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=7.2
+pkgrel=2
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="http://leventerkok.github.com/sbv";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+         'haskell-mtl' 'haskell-random' 'haskell-syb' 
'haskell-data-binary-ieee754'
+         'haskell-generic-deriving')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1bbcd4afc29a83da10ab390a0eae5ced2ee3949e312e5690613895552f29c8932ac5d8de6da04e12eca926b6504e85c5256fa13fd9e9374935b0ce838fe11ac8')
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    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}/${_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}"
+    install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 254746, 
haskell-sbv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-30 07:53:22 UTC (rev 254747)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=7.2
+pkgrel=2
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="http://leventerkok.github.com/sbv";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+         'haskell-mtl' 'haskell-random' 'haskell-syb' 
'haskell-data-binary-ieee754'
+         'haskell-generic-deriving')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1bbcd4afc29a83da10ab390a0eae5ced2ee3949e312e5690613895552f29c8932ac5d8de6da04e12eca926b6504e85c5256fa13fd9e9374935b0ce838fe11ac8')
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    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}/${_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}"
+    install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Reply via email to