Date: Monday, July 4, 2022 @ 15:33:09 Author: felixonmars Revision: 1243892
archrelease: copy trunk to community-x86_64 Added: hopenpgp-tools/repos/community-x86_64/PKGBUILD (from rev 1243891, hopenpgp-tools/trunk/PKGBUILD) Deleted: hopenpgp-tools/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-04 15:32:40 UTC (rev 1243891) +++ PKGBUILD 2022-07-04 15:33:09 UTC (rev 1243892) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hopenpgp-tools -pkgver=0.23.6 -pkgrel=290 -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=('73c83f939492c66b4ad5782e01acd0af97011a0ae797bce82d9431eb3e9c155ce1b4af1c4b3a5922f10e0e468c1c009cb270b8f15c7ba3236d9d8bf9e0265018') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir=/usr/share/doc/$pkgname --datasubdir=$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 1243891, hopenpgp-tools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-04 15:33:09 UTC (rev 1243892) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hopenpgp-tools +pkgver=0.23.7 +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=('6710829a097050615a981a903537e08bff5aee7b1e6f3222cf033d953ba08193da3cd7bd2c4aad2afabd9831fe6313135d3efb95742a15826a59a46f77601a0d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir=/usr/share/doc/$pkgname --datasubdir=$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" +}