[arch-commits] Commit in hopenpgp-tools/repos (4 files)

Felix Yan felixonmars at archlinux.org
Wed Dec 21 08:00:53 UTC 2016


    Date: Wednesday, December 21, 2016 @ 08:00:53
  Author: felixonmars
Revision: 200655

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

Added:
  hopenpgp-tools/repos/community-staging-i686/
  hopenpgp-tools/repos/community-staging-i686/PKGBUILD
    (from rev 200654, hopenpgp-tools/trunk/PKGBUILD)
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
    (from rev 200654, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-i686/PKGBUILD (from rev 200654, hopenpgp-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-21 08:00:53 UTC (rev 200655)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hopenpgp-tools
+pkgver=0.19.4
+pkgrel=17
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "alex" "happy" "haskell-aeson" "haskell-ansi-wl-pprint"
+             "haskell-attoparsec" "haskell-base16-bytestring" "haskell-binary-conduit"
+             "haskell-conduit" "haskell-conduit-extra" "haskell-crypto-pubkey" "haskell-cryptohash"
+             "haskell-errors" "haskell-fgl" "haskell-graphviz" "haskell-hopenpgp"
+             "haskell-http-client" "haskell-http-client-tls" "haskell-http-types"
+             "haskell-ixset-typed" "haskell-lens" "haskell-monad-loops" "haskell-openpgp-asciiarmor"
+             "haskell-optparse-applicative" "haskell-resourcet" "haskell-text"
+             "haskell-time-locale-compat" "haskell-wl-pprint-extras" "haskell-wl-pprint-terminfo"
+             "haskell-yaml")
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e656cd989833c6d318d5c44931ef5a8cd98bb0ebb4bab70a2d2f701091d0abd8')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}"
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+
+    rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+    rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" "$pkgdir/usr/share"
+}

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 200654, hopenpgp-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-21 08:00:53 UTC (rev 200655)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hopenpgp-tools
+pkgver=0.19.4
+pkgrel=17
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "alex" "happy" "haskell-aeson" "haskell-ansi-wl-pprint"
+             "haskell-attoparsec" "haskell-base16-bytestring" "haskell-binary-conduit"
+             "haskell-conduit" "haskell-conduit-extra" "haskell-crypto-pubkey" "haskell-cryptohash"
+             "haskell-errors" "haskell-fgl" "haskell-graphviz" "haskell-hopenpgp"
+             "haskell-http-client" "haskell-http-client-tls" "haskell-http-types"
+             "haskell-ixset-typed" "haskell-lens" "haskell-monad-loops" "haskell-openpgp-asciiarmor"
+             "haskell-optparse-applicative" "haskell-resourcet" "haskell-text"
+             "haskell-time-locale-compat" "haskell-wl-pprint-extras" "haskell-wl-pprint-terminfo"
+             "haskell-yaml")
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e656cd989833c6d318d5c44931ef5a8cd98bb0ebb4bab70a2d2f701091d0abd8')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}"
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+
+    rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+    rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" "$pkgdir/usr/share"
+}



More information about the arch-commits mailing list