[arch-commits] Commit in tamarin-prover/repos (4 files)

Felix Yan felixonmars at archlinux.org
Sun Aug 6 19:14:55 UTC 2017


    Date: Sunday, August 6, 2017 @ 19:14:54
  Author: felixonmars
Revision: 249081

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

Added:
  tamarin-prover/repos/community-i686/PKGBUILD
    (from rev 249080, tamarin-prover/trunk/PKGBUILD)
  tamarin-prover/repos/community-x86_64/PKGBUILD
    (from rev 249080, tamarin-prover/trunk/PKGBUILD)
Deleted:
  tamarin-prover/repos/community-i686/PKGBUILD
  tamarin-prover/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   98 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   34 ---------------
 community-x86_64/PKGBUILD |   34 ---------------
 3 files changed, 98 insertions(+), 68 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-08-06 19:14:28 UTC (rev 249080)
+++ community-i686/PKGBUILD	2017-08-06 19:14:54 UTC (rev 249081)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=tamarin-prover
-pkgver=1.2.2
-pkgrel=1
-pkgdesc="The Tamarin prover for security protocol analysis"
-url="http://tamarin-prover.github.io"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-hunit" "haskell-binary-orphans" "haskell-blaze-builder" "haskell-blaze-html"
-         "haskell-cmdargs" "haskell-conduit" "haskell-fclabels" "haskell-file-embed"
-         "haskell-gitrev" "haskell-http-types" "haskell-lifted-base" "haskell-mtl"
-         "haskell-resourcet" "haskell-safe" "haskell-shakespeare" "haskell-text" "haskell-threads"
-         "haskell-wai" "haskell-warp" "haskell-yesod-core" "haskell-yesod-static"
-         "haskell-tamarin-prover-utils" "haskell-tamarin-prover-term"
-         "haskell-tamarin-prover-theory")
-source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz")
-sha256sums=('f9b2d3acc01b89f71d2b246a6b3010ebab71e4fe309b3be8a8eac213422b43de')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    
-    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
-        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-            -fthreaded -ftest-coverage -f-build-tests
-    runhaskell Setup build
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    runhaskell Setup copy --destdir="${pkgdir}"
-}

Copied: tamarin-prover/repos/community-i686/PKGBUILD (from rev 249080, tamarin-prover/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-08-06 19:14:54 UTC (rev 249081)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=tamarin-prover
+pkgver=1.2.2
+pkgrel=2
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="http://tamarin-prover.github.io"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('graphviz' 'maude' 'ocaml' 'ghc' "haskell-hunit" "haskell-binary-orphans"
+         "haskell-blaze-builder" "haskell-blaze-html" "haskell-cmdargs" "haskell-conduit"
+         "haskell-fclabels" "haskell-file-embed" "haskell-gitrev" "haskell-http-types"
+         "haskell-lifted-base" "haskell-mtl" "haskell-resourcet" "haskell-safe"
+         "haskell-shakespeare" "haskell-text" "haskell-threads" "haskell-wai" "haskell-warp"
+         "haskell-yesod-core" "haskell-yesod-static" "haskell-tamarin-prover-utils"
+         "haskell-tamarin-prover-term" "haskell-tamarin-prover-theory")
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz")
+sha256sums=('f9b2d3acc01b89f71d2b246a6b3010ebab71e4fe309b3be8a8eac213422b43de')
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+            -fthreaded -ftest-coverage -f-build-tests
+    runhaskell Setup build
+
+    cd plugins/sapic
+    make -j1
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+
+    install -Dm644 etc/filetype.vim "$pkgdir"/usr/share/vim/vimfiles/filetype.vim
+    install -Dm644 etc/spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+    install -Dm644 etc/sapic.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+    cd plugins/sapic
+    install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-08-06 19:14:28 UTC (rev 249080)
+++ community-x86_64/PKGBUILD	2017-08-06 19:14:54 UTC (rev 249081)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=tamarin-prover
-pkgver=1.2.2
-pkgrel=1
-pkgdesc="The Tamarin prover for security protocol analysis"
-url="http://tamarin-prover.github.io"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-hunit" "haskell-binary-orphans" "haskell-blaze-builder" "haskell-blaze-html"
-         "haskell-cmdargs" "haskell-conduit" "haskell-fclabels" "haskell-file-embed"
-         "haskell-gitrev" "haskell-http-types" "haskell-lifted-base" "haskell-mtl"
-         "haskell-resourcet" "haskell-safe" "haskell-shakespeare" "haskell-text" "haskell-threads"
-         "haskell-wai" "haskell-warp" "haskell-yesod-core" "haskell-yesod-static"
-         "haskell-tamarin-prover-utils" "haskell-tamarin-prover-term"
-         "haskell-tamarin-prover-theory")
-source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz")
-sha256sums=('f9b2d3acc01b89f71d2b246a6b3010ebab71e4fe309b3be8a8eac213422b43de')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    
-    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
-        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-            -fthreaded -ftest-coverage -f-build-tests
-    runhaskell Setup build
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    runhaskell Setup copy --destdir="${pkgdir}"
-}

Copied: tamarin-prover/repos/community-x86_64/PKGBUILD (from rev 249080, tamarin-prover/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-08-06 19:14:54 UTC (rev 249081)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=tamarin-prover
+pkgver=1.2.2
+pkgrel=2
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="http://tamarin-prover.github.io"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('graphviz' 'maude' 'ocaml' 'ghc' "haskell-hunit" "haskell-binary-orphans"
+         "haskell-blaze-builder" "haskell-blaze-html" "haskell-cmdargs" "haskell-conduit"
+         "haskell-fclabels" "haskell-file-embed" "haskell-gitrev" "haskell-http-types"
+         "haskell-lifted-base" "haskell-mtl" "haskell-resourcet" "haskell-safe"
+         "haskell-shakespeare" "haskell-text" "haskell-threads" "haskell-wai" "haskell-warp"
+         "haskell-yesod-core" "haskell-yesod-static" "haskell-tamarin-prover-utils"
+         "haskell-tamarin-prover-term" "haskell-tamarin-prover-theory")
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz")
+sha256sums=('f9b2d3acc01b89f71d2b246a6b3010ebab71e4fe309b3be8a8eac213422b43de')
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+            -fthreaded -ftest-coverage -f-build-tests
+    runhaskell Setup build
+
+    cd plugins/sapic
+    make -j1
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+
+    install -Dm644 etc/filetype.vim "$pkgdir"/usr/share/vim/vimfiles/filetype.vim
+    install -Dm644 etc/spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+    install -Dm644 etc/sapic.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+    cd plugins/sapic
+    install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}



More information about the arch-commits mailing list