[arch-commits] Commit in dhall-lsp-server/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Feb 12 15:02:44 UTC 2022


    Date: Saturday, February 12, 2022 @ 15:02:44
  Author: felixonmars
Revision: 1132825

archrelease: copy trunk to community-x86_64

Added:
  dhall-lsp-server/repos/community-x86_64/PKGBUILD
    (from rev 1132824, dhall-lsp-server/trunk/PKGBUILD)
Deleted:
  dhall-lsp-server/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-12 15:02:36 UTC (rev 1132824)
+++ PKGBUILD	2022-02-12 15:02:44 UTC (rev 1132825)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dhall-lsp-server
-pkgver=1.0.17
-pkgrel=35
-pkgdesc="Language Server Protocol (LSP) server for Dhall"
-url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme"
-license=("custom:MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-data-default' 'dhall'
-         'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 'haskell-lens-family-core'
-         'haskell-megaparsec' 'haskell-network-uri' 'haskell-optparse-applicative'
-         'haskell-prettyprinter' 'haskell-rope-utf16-splay' 'haskell-unordered-containers'
-         'haskell-uri-encode')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest' 'haskell-hspec' 'haskell-lsp0-types'
-             'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('79781f076e6725cbd5cfdb26b9113baf3c25c5ba50ba09d829dd837637fa0d1ebd8849e38ee13fa3ec0f70e8dd7e85ef1587f99bd2437f8cffcc2903fdea8af4')
-
-build() {
-  cd $pkgname-$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 --ghc-option=-fllvm \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
-
-  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
-  LD_LIBRARY_PATH="$PWD/dist/build" PATH="$PWD/dist/build/dhall-lsp-server:$PATH" 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"
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: dhall-lsp-server/repos/community-x86_64/PKGBUILD (from rev 1132824, dhall-lsp-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-12 15:02:44 UTC (rev 1132825)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dhall-lsp-server
+pkgver=1.0.17
+pkgrel=36
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme"
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-data-default' 'dhall'
+         'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 'haskell-lens-family-core'
+         'haskell-megaparsec' 'haskell-network-uri' 'haskell-optparse-applicative'
+         'haskell-prettyprinter' 'haskell-rope-utf16-splay' 'haskell-unordered-containers'
+         'haskell-uri-encode')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest' 'haskell-hspec' 'haskell-lsp0-types'
+             'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('79781f076e6725cbd5cfdb26b9113baf3c25c5ba50ba09d829dd837637fa0d1ebd8849e38ee13fa3ec0f70e8dd7e85ef1587f99bd2437f8cffcc2903fdea8af4')
+
+build() {
+  cd $pkgname-$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 --ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+
+  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
+  LD_LIBRARY_PATH="$PWD/dist/build" PATH="$PWD/dist/build/dhall-lsp-server:$PATH" 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"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



More information about the arch-commits mailing list