[arch-commits] Commit in arch-hs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 30 19:53:17 UTC 2020


    Date: Monday, November 30, 2020 @ 19:53:16
  Author: felixonmars
Revision: 766672

archrelease: copy trunk to community-x86_64

Added:
  arch-hs/repos/community-x86_64/PKGBUILD
    (from rev 766671, arch-hs/trunk/PKGBUILD)
Deleted:
  arch-hs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 61 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 19:53:05 UTC (rev 766671)
+++ PKGBUILD	2020-11-30 19:53:16 UTC (rev 766672)
@@ -1,65 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: berberman <hatsue at typed.icu>
-
-pkgname=arch-hs
-pkgver=0.4.0.0
-pkgrel=13
-pkgdesc="Distribute hackage packages to archlinux"
-arch=('x86_64')
-url="https://github.com/berberman/arch-hs"
-license=('MIT')
-depends=('ghc-libs' 'pacman' 'haskell-aeson' 'haskell-req' 'haskell-hackage-db' 'haskell-megaparsec'
-         'haskell-algebraic-graphs' 'haskell-conduit' 'haskell-tar-conduit' 'haskell-conduit-extra'
-         'haskell-split' 'haskell-neat-interpolation' 'haskell-microlens' 'haskell-microlens-th'
-         'haskell-polysemy' 'haskell-colourista' 'haskell-optparse-applicative')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('1357a96f647143754d3140d2598a617c7c0a720a1a1aa923171d84a61927d7e06dfed62e5d2be2544ce88fcb4165238f33720e928a8118c635c809efa23eb546')
-
-_gen_comp(){
-  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
-  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
-  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
-}
-
-_install_comp(){
-  install -D -m644 bash${1} "$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
-  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
-  install -D -m644 bash${1} "$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
-}
-
-prepare() {
-  uusi $pkgname-$pkgver/$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 \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' -falpm
-
-  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
-  
-  _gen_comp
-  _gen_comp "-diff"
-  _gen_comp "-submit"
-}
-
-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"
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-  
-  _install_comp
-  _install_comp "-diff"
-  _install_comp "-submit"
-} 

Copied: arch-hs/repos/community-x86_64/PKGBUILD (from rev 766671, arch-hs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-30 19:53:16 UTC (rev 766672)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: berberman <hatsue at typed.icu>
+
+pkgname=arch-hs
+pkgver=0.5.0.0
+pkgrel=1
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs"
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-aeson' 'haskell-req' 'haskell-hackage-db' 'haskell-megaparsec'
+         'haskell-algebraic-graphs' 'haskell-conduit' 'haskell-tar-conduit' 'haskell-conduit-extra'
+         'haskell-split' 'haskell-neat-interpolation' 'haskell-microlens' 'haskell-microlens-th'
+         'haskell-polysemy' 'haskell-colourista' 'haskell-optparse-applicative')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('870e7438b37397880334b638671b0bef58ec9254938e71a0972aa54a49bca16f666c498ecce26066c75dbde2dd509a120023b338b03aa0136c12204823390dc7')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} --fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} "$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 bash${1} "$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie' -falpm
+
+  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
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-submit"
+}
+
+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"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-submit"
+} 



More information about the arch-commits mailing list