[arch-commits] Commit in haskell-hls-plugin-api/repos/community-testing-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jul 1 16:20:13 UTC 2021


    Date: Thursday, July 1, 2021 @ 16:20:13
  Author: felixonmars
Revision: 969395

archrelease: copy trunk to community-testing-x86_64

Added:
  haskell-hls-plugin-api/repos/community-testing-x86_64/PKGBUILD
    (from rev 969394, haskell-hls-plugin-api/trunk/PKGBUILD)
Deleted:
  haskell-hls-plugin-api/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-01 16:20:05 UTC (rev 969394)
+++ PKGBUILD	2021-07-01 16:20:13 UTC (rev 969395)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=hls-plugin-api
-pkgname=haskell-hls-plugin-api
-pkgver=1.1.0.2
-pkgrel=3
-pkgdesc="Haskell Language Server API for plugin communication"
-url="https://github.com/haskell/haskell-language-server/hls-plugin-api"
-license=("Apache")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 'haskell-dependent-map'
-         'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-api-compat'
-         'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 'haskell-lens' 'haskell-lsp'
-         'haskell-opentelemetry' 'haskell-regex-tdfa' 'haskell-unordered-containers')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('fd6be87c3103fd3a87d1f83652861075bda2016fb7a5db9071f76f3a153fd8a6f36b7d4f0bab3f04d9012b127ed3ed6eb52f4516c67cc2840911e204ef89cc46')
-
-prepare() {
-  cd $_hkgname-$pkgver
-  gen-setup
-}
-
-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 \
-    --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
-}
-
-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"
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-hls-plugin-api/repos/community-testing-x86_64/PKGBUILD (from rev 969394, haskell-hls-plugin-api/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-01 16:20:13 UTC (rev 969395)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.1.0.2
+pkgrel=4
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api"
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 'haskell-dependent-map'
+         'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-api-compat'
+         'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 'haskell-lens' 'haskell-lsp'
+         'haskell-opentelemetry' 'haskell-regex-tdfa' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('fd6be87c3103fd3a87d1f83652861075bda2016fb7a5db9071f76f3a153fd8a6f36b7d4f0bab3f04d9012b127ed3ed6eb52f4516c67cc2840911e204ef89cc46')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+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 \
+    --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
+}
+
+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"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}




More information about the arch-commits mailing list