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

Felix Yan felixonmars at archlinux.org
Thu Jun 28 17:43:28 UTC 2018


    Date: Thursday, June 28, 2018 @ 17:43:28
  Author: felixonmars
Revision: 347156

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 347155, hopenpgp-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-06-28 17:43:28 UTC (rev 347156)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hopenpgp-tools
+pkgver=0.21.1
+pkgrel=20
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools"
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' '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-prettyprinter'
+         'haskell-prettyprinter-ansi-terminal' 'haskell-prettyprinter-convert-ansi-wl-pprint'
+         'haskell-resourcet' 'haskell-time-locale-compat' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('0f079cdc3d99c5e2679810c38d57e40a045bf91c26fd734c50a7715f803efa9367d2ee389dd8362c1c1d00f75227370b481e9b1fb74ad41c8fb0fc51c5c71e38')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --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