[arch-commits] Commit in haskell-tamarin-prover-term/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 29 00:08:18 UTC 2017


    Date: Friday, December 29, 2017 @ 00:08:17
  Author: felixonmars
Revision: 276668

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tamarin-prover-term/repos/community-staging-x86_64/
  haskell-tamarin-prover-term/repos/community-staging-x86_64/PKGBUILD
    (from rev 276667, haskell-tamarin-prover-term/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: haskell-tamarin-prover-term/repos/community-staging-x86_64/PKGBUILD (from rev 276667, haskell-tamarin-prover-term/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-29 00:08:17 UTC (rev 276668)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=tamarin-prover-term
+pkgname=haskell-tamarin-prover-term
+pkgver=1.2.2
+pkgrel=6
+pkgdesc="Term manipulation library for the tamarin prover"
+url="http://www.infsec.ethz.ch/research/software/tamarin"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-attoparsec' 'haskell-dlist' 'haskell-mtl' 'haskell-safe'
+         'haskell-tamarin-prover-utils')
+makedepends=('ghc')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz")
+sha512sums=('f61fc4f601f5abf865b41c9b3ee3607b20f5e44b2d80f8e5a32986bf7d301b0e50479c4b473e5e478f87388491671b8180a8ee0db0d903b3abd2478e7dc9ce60')
+
+build() {
+    cd "${srcdir}/tamarin-prover-${pkgver}/lib/term"
+    
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --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}/tamarin-prover-${pkgver}/lib/term"
+    
+    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