Date: Tuesday, March 22, 2022 @ 19:36:40 Author: felixonmars Revision: 1170482
archrelease: copy trunk to community-x86_64 Added: darcs/repos/community-x86_64/PKGBUILD (from rev 1170481, darcs/trunk/PKGBUILD) Deleted: darcs/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 136 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 67 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-22 19:36:25 UTC (rev 1170481) +++ PKGBUILD 2022-03-22 19:36:40 UTC (rev 1170482) @@ -1,69 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=darcs -pkgver=2.16.4 -pkgrel=154 -pkgdesc="A distributed, interactive, smart revision control system" -url="http://darcs.net" -license=("GPL") -arch=('x86_64') -depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-base16-bytestring' - 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 'haskell-data-ordlist' - 'haskell-fgl' 'haskell-hashable' 'haskell-html' 'haskell-http-conduit' 'haskell-http-types' - 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 'haskell-network-uri' - 'haskell-old-time' 'haskell-regex-applicative' 'haskell-regex-compat-tdfa' - 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 'haskell-utf8-string' - 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib') -makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 'haskell-leancheck' - 'haskell-quickcheck' 'haskell-test-framework' 'haskell-test-framework-hunit' - 'haskell-test-framework-leancheck' 'haskell-test-framework-quickcheck2' - # Added for their bundled shelly - 'haskell-monad-control' 'haskell-system-filepath' - 'haskell-system-fileio' 'haskell-transformers-base') -checkdepends=('bc' 'time') -source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('0f9a924d68416b660b86fd076d4f47915aba0e4a58bd92609e0f05f45913d6251109f3c477e20e0a517ca5fd35735b638690a8a0f7010a52e324c5a21a540a2a') - -prepare() { - cd $pkgname-$pkgver - sed -e 's/^ghc /ghc -dynamic /' \ - -e 's/ ghc / ghc -dynamic /' \ - -i tests/*.sh tests/lib - uusi $pkgname.cabal - sed -i 's/canonizeSplit/(\\x y -> canonizeSplit x y)/' src/Darcs/UI/SelectChanges.hs -} - -build() { - cd $pkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - -fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \ - -f-rts -foptimize -f-warn-as-error -f-libiconv - LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/build runhaskell Setup build $MAKEFLAGS - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -check() { - cd $pkgname-$pkgver - # Test failures are related to process-1.6.13 - runhaskell Setup test --show-details=direct || echo "Tests failed" -} - -package() { - cd $pkgname-$pkgver - - install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" - install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" - runhaskell Setup copy --destdir="${pkgdir}" - rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE - chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1" - - install -Dm644 contrib/darcs_completion "${pkgdir}/usr/share/bash-completion/completions/darcs" - install -Dm644 contrib/_darcs.zsh "${pkgdir}/usr/share/zsh/site-functions/_darcs" -} Copied: darcs/repos/community-x86_64/PKGBUILD (from rev 1170481, darcs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-22 19:36:40 UTC (rev 1170482) @@ -0,0 +1,67 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=darcs +pkgver=2.16.5 +pkgrel=1 +pkgdesc="A distributed, interactive, smart revision control system" +url="http://darcs.net" +license=("GPL") +arch=('x86_64') +depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-base16-bytestring' + 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 'haskell-data-ordlist' + 'haskell-fgl' 'haskell-hashable' 'haskell-html' 'haskell-http-conduit' 'haskell-http-types' + 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 'haskell-network-uri' + 'haskell-old-time' 'haskell-regex-applicative' 'haskell-regex-base' 'haskell-regex-tdfa' + 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 'haskell-utf8-string' + 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib') +makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 'haskell-leancheck' + 'haskell-quickcheck' 'haskell-test-framework' 'haskell-test-framework-hunit' + 'haskell-test-framework-leancheck' 'haskell-test-framework-quickcheck2' + # Added for their bundled shelly + 'haskell-monad-control' 'haskell-system-filepath' + 'haskell-system-fileio' 'haskell-transformers-base') +checkdepends=('bc' 'time') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('9116043943315417ff314197f6a143435b5545f614c6e6210c3645987a68c69c31f53f823ee5269cb663ccba393f8caf1834120783f15128e43b132c731a0edb') + +prepare() { + cd $pkgname-$pkgver + sed -e 's/^ghc /ghc -dynamic /' \ + -e 's/ ghc / ghc -dynamic /' \ + -i tests/*.sh tests/lib + uusi -u attoparsec -u constraints -u cryptonite -u hashable -u memory $pkgname.cabal +} + +build() { + cd $pkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ + -fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \ + -f-rts -foptimize -f-warn-as-error -f-libiconv + LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/build runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $pkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $pkgname-$pkgver + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1" + + install -Dm644 contrib/darcs_completion "${pkgdir}/usr/share/bash-completion/completions/darcs" + install -Dm644 contrib/_darcs.zsh "${pkgdir}/usr/share/zsh/site-functions/_darcs" +}