[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Sep 9 08:11:40 UTC 2016


    Date: Friday, September 9, 2016 @ 08:11:39
  Author: felixonmars
Revision: 189063

addpkg: hopenpgp-tools 0.19.2-1

Added:
  hopenpgp-tools/
  hopenpgp-tools/repos/
  hopenpgp-tools/trunk/
  hopenpgp-tools/trunk/PKGBUILD

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

Added: hopenpgp-tools/trunk/PKGBUILD
===================================================================
--- hopenpgp-tools/trunk/PKGBUILD	                        (rev 0)
+++ hopenpgp-tools/trunk/PKGBUILD	2016-09-09 08:11:39 UTC (rev 189063)
@@ -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.2
+pkgrel=1
+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=(http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('6bcc067bfc2b54c0c47ea7169f3741ec8f64abee9bd8c398191a0b35520fa39c')
+
+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"
+}


Property changes on: hopenpgp-tools/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list