Date: Sunday, November 29, 2020 @ 15:04:38 Author: felixonmars Revision: 766342
archrelease: copy trunk to community-x86_64 Added: hopenpgp-tools/repos/community-x86_64/PKGBUILD (from rev 766341, hopenpgp-tools/trunk/PKGBUILD) Deleted: hopenpgp-tools/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-29 15:04:22 UTC (rev 766341) +++ PKGBUILD 2020-11-29 15:04:38 UTC (rev 766342) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hopenpgp-tools -pkgver=0.23.2 -pkgrel=14 -pkgdesc="hOpenPGP-based command-line tools" -url="https://salsa.debian.org/clint/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=('4d6328c7f09730bc0173a59fa236520326befcd61372fe8d1180700a11dd1d392b1df1f682f3d1bc719929ea26225ee0145cad3dc00c3cbf3dca6b875369c8f7') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" - runhaskell Setup build $MAKEFLAGS -} - -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-x86_64/PKGBUILD (from rev 766341, hopenpgp-tools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-29 15:04:38 UTC (rev 766342) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hopenpgp-tools +pkgver=0.23.3 +pkgrel=1 +pkgdesc="hOpenPGP-based command-line tools" +url="https://salsa.debian.org/clint/hopenpgp-tools" +license=("AGPL3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-binary-conduit' + 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 'haskell-errors' + 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' 'haskell-http-client' + 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' 'haskell-lens' + 'haskell-memory' '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-unordered-containers' + 'haskell-vector' 'haskell-yaml') +makedepends=('alex' 'happy' 'ghc') +source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('8637ab0807133cb14258de85fa2a4aea26354b6dce3bf39a666e1924d1f716bb2215d2a9032e11cae6ff8ebd96416eacc96cf2457d4247f09b56442289449478') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build $MAKEFLAGS +} + +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" +}