Date: Sunday, May 15, 2022 @ 03:28:45 Author: felixonmars Revision: 1206013
archrelease: copy trunk to community-staging-x86_64 Added: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 1206012, haskell-skylighting/trunk/PKGBUILD) Deleted: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-15 03:28:32 UTC (rev 1206012) +++ PKGBUILD 2022-05-15 03:28:45 UTC (rev 1206013) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_hkgname=skylighting -pkgname=haskell-skylighting -pkgver=0.12.3 -pkgrel=13 -pkgdesc="Syntax highlighting library" -url="https://github.com/jgm/skylighting" -license=('GPL2') -arch=('x86_64') -depends=('ghc-libs' 'haskell-skylighting-core') -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('ad944f1ac73890421cf1b818a35d45fc872cb0d6c780a88f3af45754f6e42332c6b3b55c8898ab96843d243b43368fd876d4069b30900c2eea4801dd329c867b') - -build() { - cd $_hkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - -f-executable - 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 -} - -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" - rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE -} Copied: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 1206012, haskell-skylighting/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-15 03:28:45 UTC (rev 1206013) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_hkgname=skylighting +pkgname=haskell-skylighting +pkgver=0.12.3 +pkgrel=14 +pkgdesc="Syntax highlighting library" +url="https://github.com/jgm/skylighting" +license=('GPL2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-skylighting-core') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('ad944f1ac73890421cf1b818a35d45fc872cb0d6c780a88f3af45754f6e42332c6b3b55c8898ab96843d243b43368fd876d4069b30900c2eea4801dd329c867b') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ + -f-executable + 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 +} + +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" + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}