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

2022-09-08 Thread Felix Yan via arch-commits
Date: Thursday, September 8, 2022 @ 07:27:14
  Author: felixonmars
Revision: 1296168

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1296167, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1296167, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-08 07:27:14 UTC (rev 1296168)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.8
+pkgrel=1
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('7e7d4f845c61572e94aac9f2a30a4953670f9bcdc8aa1ccf66a608932b99620d69e0fd22769582282e5fa44b904b168c4c8740fefb913a4981d4f69bddab1e72')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 23:52:51
  Author: felixonmars
Revision: 1293968

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1293967, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1293967, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-05 23:52:51 UTC (rev 1293968)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.7
+pkgrel=4
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bc9d426633c7deb7b5fc70c495bcd202c3a041359cae077e1a5577022b8f1024af9e6be41ac8d066c88a9959ea834558d30d0e6199a33620fccaf3920357868a')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-31 Thread Felix Yan via arch-commits
Date: Wednesday, August 31, 2022 @ 21:21:17
  Author: felixonmars
Revision: 1289538

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1289537, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1289537, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-31 21:21:17 UTC (rev 1289538)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.7
+pkgrel=3
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bc9d426633c7deb7b5fc70c495bcd202c3a041359cae077e1a5577022b8f1024af9e6be41ac8d066c88a9959ea834558d30d0e6199a33620fccaf3920357868a')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 22:14:05
  Author: felixonmars
Revision: 1286489

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1286488, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1286488, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 22:14:05 UTC (rev 1286489)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.7
+pkgrel=2
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bc9d426633c7deb7b5fc70c495bcd202c3a041359cae077e1a5577022b8f1024af9e6be41ac8d066c88a9959ea834558d30d0e6199a33620fccaf3920357868a')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 22:03:46
  Author: felixonmars
Revision: 1284481

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1284480, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1284480, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 22:03:46 UTC (rev 1284481)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.7
+pkgrel=1
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bc9d426633c7deb7b5fc70c495bcd202c3a041359cae077e1a5577022b8f1024af9e6be41ac8d066c88a9959ea834558d30d0e6199a33620fccaf3920357868a')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 14:22:01
  Author: felixonmars
Revision: 1282557

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1282556, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1282556, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 14:22:01 UTC (rev 1282557)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=58
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 21:38:57
  Author: felixonmars
Revision: 1277345

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1277344, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1277344, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 21:38:57 UTC (rev 1277345)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=56
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 20:46:35
  Author: felixonmars
Revision: 1268898

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1268897, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1268897, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 20:46:35 UTC (rev 1268898)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=55
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 16:54:05
  Author: felixonmars
Revision: 1261359

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1261358, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1261358, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 16:54:05 UTC (rev 1261359)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=54
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 06:26:56
  Author: felixonmars
Revision: 1256775

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1256774, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1256774, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 06:26:56 UTC (rev 1256775)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=53
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 15:48:20
  Author: felixonmars
Revision: 1250574

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1250573, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1250573, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 15:48:20 UTC (rev 1250574)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=52
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 15:46:31
  Author: felixonmars
Revision: 1244865

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1244864, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1244864, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 15:46:31 UTC (rev 1244865)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=51
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 19:21:50
  Author: felixonmars
Revision: 1241132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1241131, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1241131, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 19:21:50 UTC (rev 1241132)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=50
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 21:43:49
  Author: felixonmars
Revision: 1235075

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1235074, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1235074, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 21:43:49 UTC (rev 1235075)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=49
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 17:57:29
  Author: felixonmars
Revision: 1231117

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1231116, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1231116, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 17:57:29 UTC (rev 1231117)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=48
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 18:03:24
  Author: felixonmars
Revision: 1223676

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1223675, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1223675, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 18:03:24 UTC (rev 1223676)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=47
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 09:02:08
  Author: felixonmars
Revision: 1219671

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1219670, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1219670, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 09:02:08 UTC (rev 1219671)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=46
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-31 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 10:02:18
  Author: felixonmars
Revision: 1215566

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1215565, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1215565, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 10:02:18 UTC (rev 1215566)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=45
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-27 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 03:47:18
  Author: felixonmars
Revision: 1210948

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1210947, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1210947, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 03:47:18 UTC (rev 1210948)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=43
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 12:54:55
  Author: felixonmars
Revision: 1204333

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1204332, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1204332, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 12:54:55 UTC (rev 1204333)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=42
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 08:07:57
  Author: felixonmars
Revision: 1200889

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1200888, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1200888, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 08:07:57 UTC (rev 1200889)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=41
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 12:15:59
  Author: felixonmars
Revision: 1193561

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1193560, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1193560, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 12:15:59 UTC (rev 1193561)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=40
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 20:44:11
  Author: felixonmars
Revision: 1188441

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1188440, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1188440, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 20:44:11 UTC (rev 1188441)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=39
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-09 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 00:34:13
  Author: felixonmars
Revision: 1183929

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1183928, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1183928, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 00:34:13 UTC (rev 1183929)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=38
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 04:18:43
  Author: felixonmars
Revision: 1178743

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1178742, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1178742, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 04:18:43 UTC (rev 1178743)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=37
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-23 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 00:54:17
  Author: felixonmars
Revision: 1172888

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1172887, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1172887, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 00:54:17 UTC (rev 1172888)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=36
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 17:42:10
  Author: felixonmars
Revision: 1167657

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1167656, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1167656, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 17:42:10 UTC (rev 1167657)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=35
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 14:57:31
  Author: felixonmars
Revision: 1161186

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1161185, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1161185, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 14:57:31 UTC (rev 1161186)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=33
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 03:59:49
  Author: felixonmars
Revision: 1158242

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1158241, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1158241, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 03:59:49 UTC (rev 1158242)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=32
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 09:57:08
  Author: felixonmars
Revision: 1152184

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1152183, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1152183, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 09:57:08 UTC (rev 1152184)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=31
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 06:46:57
  Author: felixonmars
Revision: 1147800

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1147799, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1147799, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 06:46:57 UTC (rev 1147800)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=30
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 19:37:23
  Author: felixonmars
Revision: 1144870

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1144869, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1144869, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-07 19:37:23 UTC (rev 1144870)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=29
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 17:44:18
  Author: felixonmars
Revision: 1140929

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1140928, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1140928, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 17:44:18 UTC (rev 1140929)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=28
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-18 Thread Felix Yan via arch-commits
Date: Saturday, February 19, 2022 @ 01:21:36
  Author: felixonmars
Revision: 1134797

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1134796, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1134796, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-19 01:21:36 UTC (rev 1134797)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=27
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 17:12:14
  Author: felixonmars
Revision: 1128362

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1128361, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1128361, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 17:12:14 UTC (rev 1128362)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=26
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 19:22:05
  Author: felixonmars
Revision: 1123113

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1123112, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1123112, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 19:22:05 UTC (rev 1123113)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=25
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 22:34:22
  Author: felixonmars
Revision: 1117965

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1117964, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1117964, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-27 22:34:22 UTC (rev 1117965)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=24
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-24 Thread Felix Yan via arch-commits
Date: Tuesday, January 25, 2022 @ 05:02:26
  Author: felixonmars
Revision: 1114988

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1114987, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1114987, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-25 05:02:26 UTC (rev 1114988)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=23
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 23:49:30
  Author: felixonmars
Revision: 1108445

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1108444, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1108444, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 23:49:30 UTC (rev 1108445)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=22
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Tuesday, January 11, 2022 @ 19:02:08
  Author: felixonmars
Revision: 1100791

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1100790, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1100790, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-11 19:02:08 UTC (rev 1100791)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=21
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-07 Thread Felix Yan via arch-commits
Date: Friday, January 7, 2022 @ 22:55:46
  Author: felixonmars
Revision: 1096520

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1096519, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1096519, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-07 22:55:46 UTC (rev 1096520)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=20
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 00:14:14
  Author: felixonmars
Revision: 1093881

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1093880, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1093880, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 00:14:14 UTC (rev 1093881)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=19
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 06:33:25
  Author: felixonmars
Revision: 1089616

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1089615, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1089615, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 06:33:25 UTC (rev 1089616)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=18
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 01:05:43
  Author: felixonmars
Revision: 1084693

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1084692, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1084692, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 01:05:43 UTC (rev 1084693)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=17
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 21:10:59
  Author: felixonmars
Revision: 1080862

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1080861, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1080861, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 21:10:59 UTC (rev 1080862)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=16
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1077272, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1077272, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 16:47:22 UTC (rev 1077273)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=15
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-15 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 03:33:36
  Author: felixonmars
Revision: 1073677

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1073676, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1073676, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 03:33:36 UTC (rev 1073677)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=14
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 00:01:05
  Author: felixonmars
Revision: 1055915

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1055914, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1055914, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 00:01:05 UTC (rev 1055915)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=13
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 04:36:52
  Author: felixonmars
Revision: 1051915

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1051914, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1051914, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 04:36:52 UTC (rev 1051915)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=12
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-16 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 03:58:53
  Author: felixonmars
Revision: 1049469

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1049468, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1049468, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 03:58:53 UTC (rev 1049469)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=11
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 15:29:29
  Author: felixonmars
Revision: 1045480

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1045479, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1045479, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 15:29:29 UTC (rev 1045480)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=10
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-11 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 02:54:27
  Author: felixonmars
Revision: 1042985

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1042984, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1042984, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 02:54:27 UTC (rev 1042985)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=9
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 20:12:25
  Author: felixonmars
Revision: 1040240

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1040239, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1040239, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-10 20:12:25 UTC (rev 1040240)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=8
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-10-26 Thread Felix Yan via arch-commits
Date: Tuesday, October 26, 2021 @ 18:46:28
  Author: felixonmars
Revision: 1034299

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1034298, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1034298, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-26 18:46:28 UTC (rev 1034299)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=7
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 07:49:09
  Author: felixonmars
Revision: 1023467

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1023466, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1023466, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 07:49:09 UTC (rev 1023467)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=6
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 19:33:31
  Author: felixonmars
Revision: 1020793

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1020792, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1020792, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 19:33:31 UTC (rev 1020793)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=5
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 23:53:08
  Author: felixonmars
Revision: 1017959

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1017958, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1017958, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-19 23:53:08 UTC (rev 1017959)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=4
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-10 Thread Felix Yan via arch-commits
Date: Friday, September 10, 2021 @ 14:25:20
  Author: felixonmars
Revision: 1013485

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1013484, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1013484, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-10 14:25:20 UTC (rev 1013485)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=3
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-28 Thread Felix Yan via arch-commits
Date: Sunday, August 29, 2021 @ 01:22:09
  Author: felixonmars
Revision: 1008355

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1008354, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1008354, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-29 01:22:09 UTC (rev 1008355)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=2
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-27 Thread Felix Yan via arch-commits
Date: Friday, August 27, 2021 @ 18:14:47
  Author: felixonmars
Revision: 1007403

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1007402, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1007402, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-27 18:14:47 UTC (rev 1007403)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.6
+pkgrel=1
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bfae0b338f94a4de6c2b57c56e07b630b066d26fa540bdc3ecfbf11c77da052d8ff9f337fa35329a57b53fdd5a0ffe2a7b3ae20632a248a36da823654a022e4d')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 04:36:44
  Author: felixonmars
Revision: 1005486

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1005485, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1005485, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-26 04:36:44 UTC (rev 1005486)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=12
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 16:19:03
  Author: felixonmars
Revision: 1002023

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 1002022, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
1002022, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 16:19:03 UTC (rev 1002023)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=11
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 15, 2021 @ 21:09:40
  Author: felixonmars
Revision: 999343

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 999342, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
999342, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-15 21:09:40 UTC (rev 999343)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=10
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 19:05:36
  Author: felixonmars
Revision: 995567

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 995566, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
995566, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 19:05:36 UTC (rev 995567)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=9
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 16:07:56
  Author: felixonmars
Revision: 985463

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 985462, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
985462, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 16:07:56 UTC (rev 985463)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=8
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 13:08:33
  Author: felixonmars
Revision: 981948

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 981947, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
981947, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 13:08:33 UTC (rev 981948)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=7
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 20, 2021 @ 08:14:25
  Author: felixonmars
Revision: 979378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 979377, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
979377, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-20 08:14:25 UTC (rev 979378)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=6
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-09 Thread Felix Yan via arch-commits
Date: Saturday, July 10, 2021 @ 02:08:50
  Author: felixonmars
Revision: 976383

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 976382, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
976382, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-10 02:08:50 UTC (rev 976383)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=5
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 13:46:22
  Author: felixonmars
Revision: 973259

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 973258, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
973258, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-06 13:46:22 UTC (rev 973259)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=4
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 21:54:27
  Author: felixonmars
Revision: 969924

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 969923, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
969923, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-01 21:54:27 UTC (rev 969924)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=3
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-06-19 Thread Felix Yan via arch-commits
Date: Saturday, June 19, 2021 @ 17:11:28
  Author: felixonmars
Revision: 965563

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 965562, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
965562, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-19 17:11:28 UTC (rev 965563)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=2
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-15 Thread Felix Yan via arch-commits
Date: Tuesday, June 15, 2021 @ 20:10:57
  Author: felixonmars
Revision: 964141

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 964140, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
964140, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-15 20:10:57 UTC (rev 964141)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.5
+pkgrel=1
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('4aec2b59c6d6d91af299df9d68a34763437b52bb2afd4404ca213a4cc384518ff5fe2e22dda21a308b087b909bfc1cd75c55a6e5f74b51e6e97b91c9a2395fc4')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-09 Thread Felix Yan via arch-commits
Date: Wednesday, June 9, 2021 @ 22:12:42
  Author: felixonmars
Revision: 960649

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 960648, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
960648, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-09 22:12:42 UTC (rev 960649)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=12
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-07 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 09:55:30
  Author: felixonmars
Revision: 957276

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 957275, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
957275, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 09:55:30 UTC (rev 957276)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=11
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-02 Thread Felix Yan via arch-commits
Date: Wednesday, June 2, 2021 @ 23:07:12
  Author: felixonmars
Revision: 953712

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 953711, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
953711, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-02 23:07:12 UTC (rev 953712)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=10
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Sunday, May 30, 2021 @ 23:31:27
  Author: felixonmars
Revision: 951009

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 951008, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
951008, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-30 23:31:27 UTC (rev 951009)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=9
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Wednesday, May 26, 2021 @ 23:13:54
  Author: felixonmars
Revision: 947333

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 947332, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
947332, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-26 23:13:54 UTC (rev 947333)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=8
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Friday, May 21, 2021 @ 12:54:30
  Author: felixonmars
Revision: 940588

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 940587, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
940587, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-21 12:54:30 UTC (rev 940588)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=7
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 21:41:57
  Author: felixonmars
Revision: 936963

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 936962, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
936962, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-19 21:41:57 UTC (rev 936963)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=6
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-13 Thread Felix Yan via arch-commits
Date: Thursday, May 13, 2021 @ 17:21:14
  Author: felixonmars
Revision: 95

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 94, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
94, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-13 17:21:14 UTC (rev 95)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=5
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 22:26:38
  Author: felixonmars
Revision: 930822

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 930821, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
930821, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-11 22:26:38 UTC (rev 930822)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=4
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-22 Thread Felix Yan via arch-commits
Date: Thursday, April 22, 2021 @ 17:17:01
  Author: felixonmars
Revision: 921319

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 921318, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
921318, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-22 17:17:01 UTC (rev 921319)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=3
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-13 Thread Felix Yan via arch-commits
Date: Tuesday, April 13, 2021 @ 08:26:59
  Author: felixonmars
Revision: 916732

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 916731, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
916731, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-13 08:26:59 UTC (rev 916732)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=2
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-09 Thread Felix Yan via arch-commits
Date: Friday, April 9, 2021 @ 23:09:44
  Author: felixonmars
Revision: 915318

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 915317, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
915317, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-09 23:09:44 UTC (rev 915318)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.4
+pkgrel=1
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions' 'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('57fca59c71c10d72bab2e28716e087ad764812ed7c043110d81d54d3239c92501a9ee8a987d96171e0c0725d4473714b0c42b27199d905ee69b169175429d7f5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-04-07 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 21:07:32
  Author: felixonmars
Revision: 912756

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 912755, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
912755, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-07 21:07:32 UTC (rev 912756)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=27
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-28 Thread Felix Yan via arch-commits
Date: Monday, March 29, 2021 @ 01:01:31
  Author: felixonmars
Revision: 908132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 908131, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
908131, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-29 01:01:31 UTC (rev 908132)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=26
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 04:29:48
  Author: felixonmars
Revision: 906238

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 906237, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
906237, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-28 04:29:48 UTC (rev 906238)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=25
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 25, 2021 @ 01:54:45
  Author: felixonmars
Revision: 902150

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 902149, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
902149, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-25 01:54:45 UTC (rev 902150)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=24
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-22 Thread Felix Yan via arch-commits
Date: Monday, March 22, 2021 @ 23:45:47
  Author: felixonmars
Revision: 899411

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 899410, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
899410, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-22 23:45:47 UTC (rev 899411)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=23
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 21, 2021 @ 00:11:25
  Author: felixonmars
Revision: 896454

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 896453, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
896453, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-21 00:11:25 UTC (rev 896454)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=22
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-16 Thread Felix Yan via arch-commits
Date: Tuesday, March 16, 2021 @ 18:13:11
  Author: felixonmars
Revision: 892060

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 892059, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
892059, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-16 18:13:11 UTC (rev 892060)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=21
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 12, 2021 @ 04:14:18
  Author: felixonmars
Revision: 888062

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 888061, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
888061, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-12 04:14:18 UTC (rev 888062)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=20
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-06 Thread Felix Yan via arch-commits
Date: Sunday, March 7, 2021 @ 01:16:09
  Author: felixonmars
Revision: 884963

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 884962, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
884962, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-07 01:16:09 UTC (rev 884963)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=19
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 20:30:20
  Author: felixonmars
Revision: 882313

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 882312, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
882312, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-05 20:30:20 UTC (rev 882313)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=18
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 4, 2021 @ 01:23:58
  Author: felixonmars
Revision: 879907

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 879906, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
879906, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-04 01:23:58 UTC (rev 879907)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=17
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-01 Thread Felix Yan via arch-commits
Date: Monday, March 1, 2021 @ 19:01:31
  Author: felixonmars
Revision: 876596

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 876595, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
876595, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-01 19:01:31 UTC (rev 876596)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=16
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-24 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 23:56:01
  Author: felixonmars
Revision: 872191

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 872190, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
872190, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 23:56:01 UTC (rev 872191)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=15
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-22 Thread Felix Yan via arch-commits
Date: Monday, February 22, 2021 @ 22:15:43
  Author: felixonmars
Revision: 869122

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 869121, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
869121, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-22 22:15:43 UTC (rev 869122)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=14
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-17 Thread Felix Yan via arch-commits
Date: Wednesday, February 17, 2021 @ 21:53:38
  Author: felixonmars
Revision: 862821

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 862820, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
862820, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-17 21:53:38 UTC (rev 862821)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=13
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-14 Thread Felix Yan via arch-commits
Date: Monday, February 15, 2021 @ 01:42:42
  Author: felixonmars
Revision: 860230

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghc-check/repos/community-staging-x86_64/
  haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD
(from rev 860229, haskell-ghc-check/trunk/PKGBUILD)

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

Copied: haskell-ghc-check/repos/community-staging-x86_64/PKGBUILD (from rev 
860229, haskell-ghc-check/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-15 01:42:42 UTC (rev 860230)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-check
+pkgname=haskell-ghc-check
+pkgver=0.5.0.3
+pkgrel=12
+pkgdesc="detect mismatches between compile-time and run-time versions of the 
ghc api"
+url="https://hackage.haskell.org/package/ghc-check;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-paths' 
'haskell-safe-exceptions')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('56fa5e636629dbb393c431b4f34d2ce475fa2056f80f0fd7f9fa9b2434a63033')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   >