[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, December 29, 2020 @ 12:17:30 Author: felixonmars Revision: 796979 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 796978, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 796978, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-29 12:17:30 UTC (rev 796979) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=52 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, December 28, 2020 @ 16:00:15 Author: felixonmars Revision: 795079 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 795078, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 795078, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-28 16:00:15 UTC (rev 795079) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=51 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, December 26, 2020 @ 21:49:22 Author: felixonmars Revision: 793073 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 793072, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 793072, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-26 21:49:22 UTC (rev 793073) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=50 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, December 26, 2020 @ 08:58:59 Author: felixonmars Revision: 792294 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 792293, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 792293, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-26 08:58:59 UTC (rev 792294) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=49 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, December 25, 2020 @ 08:33:22 Author: felixonmars Revision: 789818 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 789817, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 789817, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-25 08:33:22 UTC (rev 789818) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=48 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, December 24, 2020 @ 15:33:37 Author: felixonmars Revision: 788265 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 788264, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 788264, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-24 15:33:37 UTC (rev 788265) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=47 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, December 24, 2020 @ 12:58:20 Author: felixonmars Revision: 787191 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 787190, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 787190, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-24 12:58:20 UTC (rev 787191) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=46 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, December 23, 2020 @ 19:25:07 Author: felixonmars Revision: 785144 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 785143, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 785143, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 19:25:07 UTC (rev 785144) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=45 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, December 23, 2020 @ 18:35:47 Author: felixonmars Revision: 785072 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 785071, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 785071, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 18:35:47 UTC (rev 785072) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=44 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, December 23, 2020 @ 09:35:46 Author: felixonmars Revision: 784013 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 784012, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 784012, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 09:35:46 UTC (rev 784013) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=43 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, December 22, 2020 @ 11:53:57 Author: felixonmars Revision: 781940 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 781939, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 781939, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-22 11:53:57 UTC (rev 781940) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=42 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, December 18, 2020 @ 18:44:53 Author: felixonmars Revision: 779449 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 779448, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 779448, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-18 18:44:53 UTC (rev 779449) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=41 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, December 18, 2020 @ 09:27:15 Author: felixonmars Revision: 778403 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 778402, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 778402, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-18 09:27:15 UTC (rev 778403) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=40 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, December 16, 2020 @ 19:27:54 Author: felixonmars Revision: 776926 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 776925, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 776925, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-16 19:27:54 UTC (rev 776926) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=39 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, December 15, 2020 @ 21:49:20 Author: felixonmars Revision: 776246 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 776245, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 776245, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-15 21:49:20 UTC (rev 776246) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=38 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, December 14, 2020 @ 11:29:41 Author: felixonmars Revision: 774880 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 774879, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 774879, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-14 11:29:41 UTC (rev 774880) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=37 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, December 9, 2020 @ 12:43:49 Author: felixonmars Revision: 772637 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 772636, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 772636, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-09 12:43:49 UTC (rev 772637) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=36 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, December 8, 2020 @ 18:35:04 Author: felixonmars Revision: 771985 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 771984, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 771984, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-08 18:35:04 UTC (rev 771985) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=35 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, December 5, 2020 @ 13:07:48 Author: felixonmars Revision: 770535 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 770534, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 770534, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-05 13:07:48 UTC (rev 770535) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=34 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, December 4, 2020 @ 07:56:49 Author: felixonmars Revision: 769867 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 769866, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 769866, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-04 07:56:49 UTC (rev 769867) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=33 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, December 3, 2020 @ 00:22:08 Author: felixonmars Revision: 769390 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 769389, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 769389, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-03 00:22:08 UTC (rev 769390) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=31 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, November 30, 2020 @ 23:31:39 Author: felixonmars Revision: 766854 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 766853, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 766853, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-30 23:31:39 UTC (rev 766854) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=30 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, November 28, 2020 @ 12:26:12 Author: felixonmars Revision: 765213 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 765212, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 765212, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-28 12:26:12 UTC (rev 765213) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=29 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, November 26, 2020 @ 13:29:11 Author: felixonmars Revision: 763529 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 763528, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 763528, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-26 13:29:11 UTC (rev 763529) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=28 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, November 26, 2020 @ 04:22:09 Author: felixonmars Revision: 761426 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 761425, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 761425, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-26 04:22:09 UTC (rev 761426) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=27 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, November 23, 2020 @ 17:23:10 Author: felixonmars Revision: 760035 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 760034, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 760034, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-23 17:23:10 UTC (rev 760035) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=26 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, November 20, 2020 @ 19:37:24 Author: felixonmars Revision: 758072 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 758071, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 758071, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-20 19:37:24 UTC (rev 758072) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=25 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, November 18, 2020 @ 22:55:02 Author: felixonmars Revision: 757295 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 757294, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 757294, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-18 22:55:02 UTC (rev 757295) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=24 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 17, 2020 @ 20:17:26 Author: felixonmars Revision: 756872 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756871, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756871, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-17 20:17:26 UTC (rev 756872) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=23 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 17, 2020 @ 12:36:24 Author: felixonmars Revision: 756742 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756741, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756741, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-17 12:36:24 UTC (rev 756742) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=22 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 17, 2020 @ 06:24:34 Author: felixonmars Revision: 756010 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756009, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 756009, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-17 06:24:34 UTC (rev 756010) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=21 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 10, 2020 @ 14:38:33 Author: felixonmars Revision: 749550 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 749549, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 749549, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-10 14:38:33 UTC (rev 749550) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=20 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, November 8, 2020 @ 12:17:02 Author: felixonmars Revision: 746528 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 746527, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 746527, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-08 12:17:02 UTC (rev 746528) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=19 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, November 7, 2020 @ 19:06:59 Author: felixonmars Revision: 745948 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 745947, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 745947, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-07 19:06:59 UTC (rev 745948) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=18 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, November 6, 2020 @ 21:41:06 Author: felixonmars Revision: 744623 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 744622, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 744622, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-06 21:41:06 UTC (rev 744623) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=17 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, November 4, 2020 @ 19:55:41 Author: felixonmars Revision: 742585 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 742584, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 742584, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-04 19:55:41 UTC (rev 742585) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=16 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, November 4, 2020 @ 15:14:48 Author: felixonmars Revision: 742103 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 742102, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 742102, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-04 15:14:48 UTC (rev 742103) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=15 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 3, 2020 @ 20:09:32 Author: felixonmars Revision: 741319 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 741318, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 741318, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-03 20:09:32 UTC (rev 741319) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=14 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, November 3, 2020 @ 05:49:51 Author: felixonmars Revision: 740274 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 740273, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 740273, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-03 05:49:51 UTC (rev 740274) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=13 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, November 1, 2020 @ 02:22:05 Author: felixonmars Revision: 738128 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 738127, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 738127, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-01 02:22:05 UTC (rev 738128) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=12 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, October 28, 2020 @ 12:39:59 Author: felixonmars Revision: 735494 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 735493, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 735493, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-28 12:39:59 UTC (rev 735494) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=11 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, October 26, 2020 @ 00:15:13 Author: felixonmars Revision: 733749 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 733748, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 733748, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-26 00:15:13 UTC (rev 733749) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=10 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, October 25, 2020 @ 18:50:35 Author: felixonmars Revision: 732870 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 732869, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 732869, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-25 18:50:35 UTC (rev 732870) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=9 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, October 24, 2020 @ 10:40:08 Author: felixonmars Revision: 731177 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 731176, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 731176, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-24 10:40:08 UTC (rev 731177) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=8 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, October 22, 2020 @ 22:58:56 Author: felixonmars Revision: 730318 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 730317, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 730317, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-22 22:58:56 UTC (rev 730318) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=7 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, October 22, 2020 @ 18:13:45 Author: felixonmars Revision: 729361 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 729360, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 729360, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-22 18:13:45 UTC (rev 729361) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=6 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, October 19, 2020 @ 21:07:50 Author: felixonmars Revision: 727340 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 727339, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 727339, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-19 21:07:50 UTC (rev 727340) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=5 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, October 18, 2020 @ 22:23:38 Author: felixonmars Revision: 726867 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 726866, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 726866, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-18 22:23:38 UTC (rev 726867) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=4 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, October 18, 2020 @ 13:00:17 Author: felixonmars Revision: 726002 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 726001, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 726001, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-18 13:00:17 UTC (rev 726002) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=3 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, October 15, 2020 @ 17:27:54 Author: felixonmars Revision: 724203 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 724202, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 724202, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-15 17:27:54 UTC (rev 724203) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=2 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, October 11, 2020 @ 05:57:47 Author: felixonmars Revision: 723443 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 723442, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 723442, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-11 05:57:47 UTC (rev 723443) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.7 +pkgrel=1 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Saturday, October 10, 2020 @ 09:22:08 Author: felixonmars Revision: 723013 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 723012, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 723012, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-10 09:22:08 UTC (rev 723013) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=14 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz; + lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6' + 'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + patch -p1 -i ../lsp-0.23.patch + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, October 8, 2020 @ 23:50:09 Author: felixonmars Revision: 722199 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 722198, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 722198, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-08 23:50:09 UTC (rev 722199) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=13 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz; + lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6' + 'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + patch -p1 -i ../lsp-0.23.patch + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, October 8, 2020 @ 18:51:24 Author: felixonmars Revision: 721875 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 721874, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 721874, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-08 18:51:24 UTC (rev 721875) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=12 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz; + lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6' + 'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + patch -p1 -i ../lsp-0.23.patch + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Wednesday, October 7, 2020 @ 19:17:31 Author: felixonmars Revision: 720892 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 720891, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 720891, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-07 19:17:31 UTC (rev 720892) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=11 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz; + lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6' + 'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + patch -p1 -i ../lsp-0.23.patch + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Tuesday, October 6, 2020 @ 08:35:25 Author: felixonmars Revision: 719305 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 719304, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 719304, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-06 08:35:25 UTC (rev 719305) @@ -0,0 +1,64 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=10 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz; + lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6' + 'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + patch -p1 -i ../lsp-0.23.patch + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, October 5, 2020 @ 21:44:03 Author: felixonmars Revision: 719153 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 719152, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 719152, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-05 21:44:03 UTC (rev 719153) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=9 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, October 5, 2020 @ 18:46:02 Author: felixonmars Revision: 718905 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 718904, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 718904, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-05 18:46:02 UTC (rev 718905) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=8 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, October 4, 2020 @ 17:59:58 Author: felixonmars Revision: 717823 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 717822, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 717822, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-04 17:59:58 UTC (rev 717823) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=7 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, October 2, 2020 @ 20:57:08 Author: felixonmars Revision: 715697 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 715696, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 715696, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-02 20:57:08 UTC (rev 715697) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=6 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, September 28, 2020 @ 20:57:45 Author: felixonmars Revision: 713373 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 713372, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 713372, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-28 20:57:45 UTC (rev 713373) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=5 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Monday, September 28, 2020 @ 10:58:25 Author: felixonmars Revision: 712875 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 712874, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 712874, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-28 10:58:25 UTC (rev 712875) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=4 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, September 25, 2020 @ 16:40:16 Author: felixonmars Revision: 712098 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 712097, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 712097, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-25 16:40:16 UTC (rev 712098) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=3 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, September 24, 2020 @ 13:10:38 Author: felixonmars Revision: 711730 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 711729, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 711729, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-24 13:10:38 UTC (rev 711730) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=2 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Sunday, September 20, 2020 @ 01:09:11 Author: felixonmars Revision: 710911 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 710910, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 710910, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-20 01:09:11 UTC (rev 710911) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.6 +pkgrel=1 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Friday, September 18, 2020 @ 11:53:48 Author: felixonmars Revision: 710009 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lsp-test/repos/community-staging-x86_64/ haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 710008, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 710008, haskell-lsp-test/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-18 11:53:48 UTC (rev 710009) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.5 +pkgrel=2 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +# Hackage source is missing test data +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha256sums=('3d1779f05cbeb6ea7109188d5e850b688de2f72af49f16785ff840264534c587') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}
[arch-commits] Commit in haskell-lsp-test/repos (2 files)
Date: Thursday, September 17, 2020 @ 09:47:05 Author: felixonmars Revision: 708572 archrelease: copy trunk to community-x86_64 Added: haskell-lsp-test/repos/community-x86_64/ haskell-lsp-test/repos/community-x86_64/PKGBUILD (from rev 708571, haskell-lsp-test/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: haskell-lsp-test/repos/community-x86_64/PKGBUILD (from rev 708571, haskell-lsp-test/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-09-17 09:47:05 UTC (rev 708572) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan + +_hkgname=lsp-test +pkgname=haskell-lsp-test +pkgver=0.11.0.5 +pkgrel=1 +pkgdesc="Functional test framework for LSP servers" +url="https://github.com/bubba/lsp-test#readme; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 'haskell-aeson-pretty' + 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 'haskell-conduit-parse' + 'haskell-data-default' 'haskell-lsp' 'haskell-lens' 'haskell-parser-combinators' + 'haskell-unordered-containers') +makedepends=('ghc' 'haskell-hspec') +source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha256sums=('3d1779f05cbeb6ea7109188d5e850b688de2f72af49f16785ff840264534c587') + +prepare() { + cd $_hkgname-$pkgver + echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs + + sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs +} + +build() { + cd $_hkgname-$pkgver + + # We need to enable dummy-server here for tests, but it shouldn't be installed... + 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' \ +-fdummyserver + + runhaskell Setup build + 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 $_hkgname-$pkgver + runhaskell Setup test +} + +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" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + + # Remove dummy-server + rm -r "$pkgdir"/usr/libexec +}