[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 15:38:13
  Author: felixonmars
Revision: 1299440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1299438, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1299438, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 15:38:13 UTC (rev 1299440)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=98
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 22:29:03
  Author: felixonmars
Revision: 1297818

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1297817, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1297817, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 22:29:03 UTC (rev 1297818)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=97
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 08:33:43
  Author: felixonmars
Revision: 1296300

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1296299, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1296299, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-08 08:33:43 UTC (rev 1296300)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=96
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 18:57:02
  Author: felixonmars
Revision: 1294533

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1294532, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1294532, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 18:57:02 UTC (rev 1294533)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=95
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:42:20
  Author: felixonmars
Revision: 1291394

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1291393, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1291393, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:42:20 UTC (rev 1291394)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=94
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:44:23
  Author: felixonmars
Revision: 1286997

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1286996, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1286996, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:44:23 UTC (rev 1286997)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=93
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 16:08:41
  Author: felixonmars
Revision: 1283032

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1283031, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1283031, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 16:08:41 UTC (rev 1283032)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=92
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 06:43:25
  Author: felixonmars
Revision: 1280863

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1280862, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1280862, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 06:43:25 UTC (rev 1280863)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=91
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 18:07:30
  Author: felixonmars
Revision: 1279729

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1279728, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1279728, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 18:07:30 UTC (rev 1279729)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=90
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:51:42
  Author: felixonmars
Revision: 1278023

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1278022, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1278022, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:51:42 UTC (rev 1278023)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=89
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-23 Thread Felix Yan via arch-commits
Date: Tuesday, August 23, 2022 @ 18:02:13
  Author: felixonmars
Revision: 1275741

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1275740, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1275740, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-23 18:02:13 UTC (rev 1275741)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=88
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 17:03:06
  Author: felixonmars
Revision: 1272957

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1272956, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1272956, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 17:03:06 UTC (rev 1272957)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=87
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 22:08:49
  Author: felixonmars
Revision: 1271435

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1271434, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1271434, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-20 22:08:49 UTC (rev 1271435)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=86
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 22:25:00
  Author: felixonmars
Revision: 1269418

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1269417, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1269417, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 22:25:00 UTC (rev 1269418)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=85
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:38:02
  Author: felixonmars
Revision: 1267221

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1267220, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1267220, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:38:02 UTC (rev 1267221)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=84
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 16:42:27
  Author: felixonmars
Revision: 1263979

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1263978, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1263978, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 16:42:27 UTC (rev 1263979)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=83
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:44:28
  Author: felixonmars
Revision: 1261939

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1261938, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1261938, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:44:28 UTC (rev 1261939)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=82
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 09:07:32
  Author: felixonmars
Revision: 1257257

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1257256, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1257256, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 09:07:32 UTC (rev 1257257)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=81
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-15 Thread Felix Yan via arch-commits
Date: Saturday, July 16, 2022 @ 03:10:41
  Author: felixonmars
Revision: 1253292

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1253291, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1253291, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 03:10:41 UTC (rev 1253292)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=80
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 19:57:05
  Author: felixonmars
Revision: 1251212

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1251211, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1251211, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 19:57:05 UTC (rev 1251212)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=79
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 22:50:03
  Author: felixonmars
Revision: 1247052

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1247051, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1247051, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 22:50:03 UTC (rev 1247052)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=78
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 19:51:56
  Author: felixonmars
Revision: 1245395

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1245394, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1245394, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 19:51:56 UTC (rev 1245395)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=77
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 4, 2022 @ 23:41:39
  Author: felixonmars
Revision: 1244069

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1244068, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1244068, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-04 23:41:39 UTC (rev 1244069)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=76
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+
+  # algebraic-graphs 0.7
+  sed -i 's/dfs vs m/dfs m vs/' src/HieDb/Query.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:12:06
  Author: felixonmars
Revision: 1241538

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1241537, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1241537, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:12:06 UTC (rev 1241538)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=75
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 23:14:00
  Author: felixonmars
Revision: 1235575

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1235574, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1235574, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:14:00 UTC (rev 1235575)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=74
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:32:35
  Author: felixonmars
Revision: 1233322

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1233321, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1233321, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:32:35 UTC (rev 1233322)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=73
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 22:07:16
  Author: felixonmars
Revision: 1231675

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1231674, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1231674, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 22:07:16 UTC (rev 1231675)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=72
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-08 Thread Felix Yan via arch-commits
Date: Wednesday, June 8, 2022 @ 12:01:22
  Author: felixonmars
Revision: 1229244

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1229243, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1229243, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-08 12:01:22 UTC (rev 1229244)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=71
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 19:35:09
  Author: felixonmars
Revision: 1228564

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1228563, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1228563, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 19:35:09 UTC (rev 1228564)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=70
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 06:22:28
  Author: felixonmars
Revision: 1227593

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1227592, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1227592, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 06:22:28 UTC (rev 1227593)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=69
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:57:02
  Author: felixonmars
Revision: 1225919

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1225918, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1225918, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 10:57:02 UTC (rev 1225919)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=68
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:30:49
  Author: felixonmars
Revision: 1224146

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1224145, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1224145, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:30:49 UTC (rev 1224146)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=67
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 18:59:07
  Author: felixonmars
Revision: 1221984

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1221983, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1221983, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 18:59:07 UTC (rev 1221984)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=66
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 10:21:39
  Author: felixonmars
Revision: 1220170

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1220169, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1220169, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 10:21:39 UTC (rev 1220170)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=65
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 11:39:19
  Author: felixonmars
Revision: 1216140

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1216139, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1216139, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 11:39:19 UTC (rev 1216140)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=64
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 17:01:06
  Author: felixonmars
Revision: 1212407

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1212406, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1212406, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 17:01:06 UTC (rev 1212407)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=63
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 13:52:04
  Author: felixonmars
Revision: 1208209

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1208208, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1208208, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 13:52:04 UTC (rev 1208209)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=62
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 14:27:29
  Author: felixonmars
Revision: 1204847

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1204846, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1204846, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 14:27:29 UTC (rev 1204847)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=60
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 10:44:04
  Author: felixonmars
Revision: 1201500

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1201499, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1201499, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 10:44:04 UTC (rev 1201500)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=59
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 16:23:35
  Author: felixonmars
Revision: 1199722

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1199721, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1199721, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 16:23:35 UTC (rev 1199722)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=58
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 09:14:33
  Author: felixonmars
Revision: 1198668

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1198667, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1198667, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 09:14:33 UTC (rev 1198668)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=57
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 08:05:44
  Author: felixonmars
Revision: 1197060

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1197059, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1197059, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 08:05:44 UTC (rev 1197060)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=56
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 22:30:21
  Author: felixonmars
Revision: 1188975

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1188974, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1188974, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 22:30:21 UTC (rev 1188975)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=54
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 11:28:55
  Author: felixonmars
Revision: 1184445

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 118, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
118, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 11:28:55 UTC (rev 1184445)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=53
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 21:07:52
  Author: felixonmars
Revision: 1181940

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1181939, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1181939, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 21:07:52 UTC (rev 1181940)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=52
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-04-01 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 06:14:52
  Author: felixonmars
Revision: 1179322

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1179321, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1179321, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 06:14:52 UTC (rev 1179322)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=51
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 20:12:10
  Author: felixonmars
Revision: 1175169

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1175168, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1175168, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 20:12:10 UTC (rev 1175169)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=50
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 02:41:49
  Author: felixonmars
Revision: 1173493

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1173492, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1173492, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 02:41:49 UTC (rev 1173493)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=49
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-22 Thread Felix Yan via arch-commits
Date: Tuesday, March 22, 2022 @ 23:18:41
  Author: felixonmars
Revision: 1170745

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1170744, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1170744, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-22 23:18:41 UTC (rev 1170745)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=48
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 20:18:18
  Author: felixonmars
Revision: 1168275

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1168274, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1168274, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 20:18:18 UTC (rev 1168275)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=47
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:46:00
  Author: felixonmars
Revision: 1165104

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1165103, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1165103, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:46:00 UTC (rev 1165104)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=46
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 18:54:34
  Author: felixonmars
Revision: 1161786

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1161785, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1161785, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 18:54:34 UTC (rev 1161786)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=45
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 17:47:41
  Author: felixonmars
Revision: 1158788

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1158787, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1158787, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 17:47:41 UTC (rev 1158788)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=44
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-15 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 11:40:20
  Author: felixonmars
Revision: 1154310

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1154309, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1154309, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 11:40:20 UTC (rev 1154310)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=43
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 13:26:27
  Author: felixonmars
Revision: 1152740

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1152739, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1152739, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 13:26:27 UTC (rev 1152740)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=42
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-12 Thread Felix Yan via arch-commits
Date: Saturday, March 12, 2022 @ 20:25:00
  Author: felixonmars
Revision: 1150171

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1150170, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1150170, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-12 20:25:00 UTC (rev 1150171)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=41
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 17:13:11
  Author: felixonmars
Revision: 1148442

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1148441, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1148441, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 17:13:11 UTC (rev 1148442)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=40
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-09 Thread Felix Yan via arch-commits
Date: Wednesday, March 9, 2022 @ 20:37:20
  Author: felixonmars
Revision: 1145720

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1145719, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1145719, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-09 20:37:20 UTC (rev 1145720)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=39
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-03-03 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 02:38:15
  Author: felixonmars
Revision: 1141538

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1141537, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1141537, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-04 02:38:15 UTC (rev 1141538)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=38
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-21 Thread Felix Yan via arch-commits
Date: Monday, February 21, 2022 @ 20:57:46
  Author: felixonmars
Revision: 1135647

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1135646, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1135646, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-21 20:57:46 UTC (rev 1135647)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=37
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-10 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 04:45:19
  Author: felixonmars
Revision: 1131773

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1131772, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1131772, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 04:45:19 UTC (rev 1131773)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=35
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-09 Thread Felix Yan via arch-commits
Date: Thursday, February 10, 2022 @ 00:03:34
  Author: felixonmars
Revision: 1130559

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1130558, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1130558, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-10 00:03:34 UTC (rev 1130559)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=34
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 09:08:39
  Author: felixonmars
Revision: 1129076

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1129075, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1129075, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-08 09:08:39 UTC (rev 1129076)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=33
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 21:30:15
  Author: felixonmars
Revision: 1126073

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1126072, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1126072, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 21:30:15 UTC (rev 1126073)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=32
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 00:03:01
  Author: felixonmars
Revision: 1123652

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1123651, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1123651, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-03 00:03:01 UTC (rev 1123652)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=31
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-28 Thread Felix Yan via arch-commits
Date: Friday, January 28, 2022 @ 20:23:20
  Author: felixonmars
Revision: 1118607

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1118606, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1118606, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-28 20:23:20 UTC (rev 1118607)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=30
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-26 Thread Felix Yan via arch-commits
Date: Wednesday, January 26, 2022 @ 13:37:29
  Author: felixonmars
Revision: 1115707

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1115706, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1115706, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-26 13:37:29 UTC (rev 1115707)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=29
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 20:13:02
  Author: felixonmars
Revision: 1112574

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1112573, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1112573, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 20:13:02 UTC (rev 1112574)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=28
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 15:13:40
  Author: felixonmars
Revision: 1112194

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1112193, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1112193, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 15:13:40 UTC (rev 1112194)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=27
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 14:31:07
  Author: felixonmars
Revision: 1108984

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1108983, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1108983, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 14:31:07 UTC (rev 1108984)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=26
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-16 Thread Felix Yan via arch-commits
Date: Sunday, January 16, 2022 @ 22:00:32
  Author: felixonmars
Revision: 1106515

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1106514, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1106514, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-16 22:00:32 UTC (rev 1106515)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=25
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-11 Thread Felix Yan via arch-commits
Date: Wednesday, January 12, 2022 @ 01:37:38
  Author: felixonmars
Revision: 1101345

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1101344, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1101344, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 01:37:38 UTC (rev 1101345)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=24
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-09 Thread Felix Yan via arch-commits
Date: Sunday, January 9, 2022 @ 23:16:12
  Author: felixonmars
Revision: 1098720

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1098719, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1098719, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-09 23:16:12 UTC (rev 1098720)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=23
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-09 Thread Felix Yan via arch-commits
Date: Sunday, January 9, 2022 @ 19:17:19
  Author: felixonmars
Revision: 1098447

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1098445, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1098445, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-09 19:17:19 UTC (rev 1098447)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=22
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 15:10:37
  Author: felixonmars
Revision: 1097087

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1097086, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1097086, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-08 15:10:37 UTC (rev 1097087)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=21
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 06:20:28
  Author: felixonmars
Revision: 1094490

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1094489, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1094489, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 06:20:28 UTC (rev 1094490)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=20
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 11:16:11
  Author: felixonmars
Revision: 1090074

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1090073, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1090073, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 11:16:11 UTC (rev 1090074)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=19
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 12:51:49
  Author: felixonmars
Revision: 1087099

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1087098, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1087098, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 12:51:49 UTC (rev 1087099)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=18
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 06:04:19
  Author: felixonmars
Revision: 1085184

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1085183, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1085183, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 06:04:19 UTC (rev 1085184)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=17
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-21 Thread Felix Yan via arch-commits
Date: Tuesday, December 21, 2021 @ 11:42:51
  Author: felixonmars
Revision: 1081442

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1081441, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1081441, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-21 11:42:51 UTC (rev 1081442)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=16
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 03:43:12
  Author: felixonmars
Revision: 1079405

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1079404, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1079404, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 03:43:12 UTC (rev 1079405)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=15
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 22:18:13
  Author: felixonmars
Revision: 1077866

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1077865, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1077865, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 22:18:13 UTC (rev 1077866)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=14
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 10:30:59
  Author: felixonmars
Revision: 1074229

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1074228, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1074228, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 10:30:59 UTC (rev 1074229)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=13
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 13, 2021 @ 14:23:17
  Author: felixonmars
Revision: 1071761

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1071760, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1071760, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-13 14:23:17 UTC (rev 1071761)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=12
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 04:20:52
  Author: felixonmars
Revision: 1056365

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1056364, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1056364, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 04:20:52 UTC (rev 1056365)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=11
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 14:31:06
  Author: felixonmars
Revision: 1052349

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1052348, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1052348, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 14:31:06 UTC (rev 1052349)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=10
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 12:32:40
  Author: felixonmars
Revision: 1049977

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1049976, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1049976, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 12:32:40 UTC (rev 1049977)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=9
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 21:17:43
  Author: felixonmars
Revision: 1046189

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1046188, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1046188, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 21:17:43 UTC (rev 1046189)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=8
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 09:41:28
  Author: felixonmars
Revision: 1043494

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1043493, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1043493, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 09:41:28 UTC (rev 1043494)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=7
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-10 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 01:25:13
  Author: felixonmars
Revision: 1040796

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1040795, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1040795, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 01:25:13 UTC (rev 1040796)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=6
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-06 Thread Felix Yan via arch-commits
Date: Sunday, November 7, 2021 @ 00:44:51
  Author: felixonmars
Revision: 1037996

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1037995, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1037995, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-07 00:44:51 UTC (rev 1037996)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=5
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-11-02 Thread Felix Yan via arch-commits
Date: Tuesday, November 2, 2021 @ 23:36:54
  Author: felixonmars
Revision: 1035532

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1035531, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1035531, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-02 23:36:54 UTC (rev 1035532)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=4
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-10-11 Thread Felix Yan via arch-commits
Date: Monday, October 11, 2021 @ 16:07:36
  Author: felixonmars
Revision: 1029496

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1029495, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1029495, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-11 16:07:36 UTC (rev 1029496)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=2
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-10-05 Thread Felix Yan via arch-commits
Date: Tuesday, October 5, 2021 @ 17:54:59
  Author: felixonmars
Revision: 1027758

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1027757, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1027757, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-05 17:54:59 UTC (rev 1027758)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.1.0
+pkgrel=1
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b4d20f110e756a4bc056df41d6115e9faa8c91b2668abbae64de27b6169e4fb7e1067e1584f7a08dcc6e7a82923e41bab02ad7f0c6958fae764e94a46ee01aed')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-10-02 Thread Felix Yan via arch-commits
Date: Saturday, October 2, 2021 @ 21:54:36
  Author: felixonmars
Revision: 1027085

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1027084, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1027084, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-02 21:54:36 UTC (rev 1027085)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=21
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 22:34:29
  Author: felixonmars
Revision: 1024066

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1024065, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1024065, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 22:34:29 UTC (rev 1024066)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=20
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-09-21 Thread Felix Yan via arch-commits
Date: Wednesday, September 22, 2021 @ 01:05:29
  Author: felixonmars
Revision: 1021339

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1021338, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1021338, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-22 01:05:29 UTC (rev 1021339)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=19
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-09-20 Thread Felix Yan via arch-commits
Date: Monday, September 20, 2021 @ 06:13:02
  Author: felixonmars
Revision: 1018423

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1018422, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1018422, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-20 06:13:02 UTC (rev 1018423)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=18
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-09-15 Thread Felix Yan via arch-commits
Date: Wednesday, September 15, 2021 @ 07:32:26
  Author: felixonmars
Revision: 1015221

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1015220, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1015220, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-15 07:32:26 UTC (rev 1015221)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=17
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hiedb/repos (2 files)

2021-09-10 Thread Felix Yan via arch-commits
Date: Friday, September 10, 2021 @ 23:57:16
  Author: felixonmars
Revision: 1013995

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hiedb/repos/community-staging-x86_64/
  haskell-hiedb/repos/community-staging-x86_64/PKGBUILD
(from rev 1013994, haskell-hiedb/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 
1013994, haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-10 23:57:16 UTC (rev 1013995)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.4.0.0
+pkgrel=16
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-hie-compat' 
'haskell-lucid'
+ 'haskell-optparse-applicative' 'haskell-sqlite-simple' 
'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b45bb1e08544379c61a9bd3f38613be844320cd5bed65d181cc01c7f77724daf63e4cf6930db7f14873de8f2122efe7e10b933bd5d53d3a4df4c55f8343c0d7b')
+
+prepare() {
+  cd hiedb-$pkgver
+  sed -i 's/callProcess hc args/callProcess hc (["-dynamic"] ++ args)/' 
test/Main.hs
+}
+
+build() {
+  cd hiedb-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd hiedb-$pkgver
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd hiedb-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



  1   2   >