Date: Tuesday, May 28, 2019 @ 23:03:42 Author: felixonmars Revision: 473258
archrelease: copy trunk to community-staging-x86_64 Added: haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD (from rev 473257, haskell-reinterpret-cast/trunk/PKGBUILD) Deleted: haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-28 23:03:31 UTC (rev 473257) +++ PKGBUILD 2019-05-28 23:03:42 UTC (rev 473258) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_hkgname=reinterpret-cast -pkgname=haskell-reinterpret-cast -pkgver=0.1.0 -pkgrel=23 -pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64" -url="https://github.com/nh2/reinterpret-cast" -license=('MIT') -arch=('x86_64') -depends=('ghc-libs') -makedepends=('ghc' 'haskell-data-binary-ieee754' 'haskell-hspec' 'haskell-loop') -source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('217bff79abd149a8d644547b7a691b68400fa543dfd824160e1d41e90b489ab1d3e274b76cbe88d16572a41afd63705d15e973640493b119894d337df3b6ccba') - -build() { - cd $_hkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - 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 $_hkgname-$pkgver - runhaskell Setup test -} - -package() { - cd $_hkgname-$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" -} Copied: haskell-reinterpret-cast/repos/community-staging-x86_64/PKGBUILD (from rev 473257, haskell-reinterpret-cast/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-28 23:03:42 UTC (rev 473258) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_hkgname=reinterpret-cast +pkgname=haskell-reinterpret-cast +pkgver=0.1.0 +pkgrel=24 +pkgdesc="Memory reinterpretation casts for Float/Double and Word32/Word64" +url="https://github.com/nh2/reinterpret-cast" +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-data-binary-ieee754' 'haskell-hspec' 'haskell-loop') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('217bff79abd149a8d644547b7a691b68400fa543dfd824160e1d41e90b489ab1d3e274b76cbe88d16572a41afd63705d15e973640493b119894d337df3b6ccba') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$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" +}