[arch-commits] Commit in arch-hs/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Jun 14 18:41:52 UTC 2022
Date: Tuesday, June 14, 2022 @ 18:41:52
Author: felixonmars
Revision: 1237903
archrelease: copy trunk to community-x86_64
Added:
arch-hs/repos/community-x86_64/PKGBUILD
(from rev 1237902, arch-hs/trunk/PKGBUILD)
Deleted:
arch-hs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-14 18:41:40 UTC (rev 1237902)
+++ PKGBUILD 2022-06-14 18:41:52 UTC (rev 1237903)
@@ -1,63 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: berberman <hatsue at typed.icu>
-
-pkgname=arch-hs
-pkgver=0.10.1.0
-pkgrel=49
-pkgdesc="Distribute hackage packages to archlinux"
-arch=('x86_64')
-url="https://github.com/berberman/arch-hs"
-license=('MIT')
-depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 'haskell-algebraic-graphs'
- 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-hackage-db'
- 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 'haskell-microlens'
- 'haskell-microlens-th' 'haskell-neat-interpolation' 'haskell-optparse-simple'
- 'haskell-polysemy' 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal'
- 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6eb1456a005616fcdec8802d4de40bb950f35c4583684a386767f21419ceb9be2804672655b48cf0163ab141be41ad73fe2370872ac0881224caec9d44e91d44')
-
-_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 fish${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 --datasubdir=$pkgname \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- --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 "-sync"
-}
-
-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 "-sync"
-}
Copied: arch-hs/repos/community-x86_64/PKGBUILD (from rev 1237902, arch-hs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-14 18:41:52 UTC (rev 1237903)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: berberman <hatsue at typed.icu>
+
+pkgname=arch-hs
+pkgver=0.10.2.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-diff' 'haskell-aeson' 'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('abfdbbeeba3c7d03e403f48047d9a8ac4342d95b8037b15eee1670be7f66b75caf91b346f6fe86228b5217b4ac470e969f3364c195ccd818784017495f6416d2')
+
+_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 fish${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 --datasubdir=$pkgname \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --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 "-sync"
+}
+
+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 "-sync"
+}
More information about the arch-commits
mailing list