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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 19:24:50
  Author: felixonmars
Revision: 777881

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 777880, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 19:24:50 UTC (rev 777881)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=6
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 18:14:14
  Author: felixonmars
Revision: 779413

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 779412, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 18:14:14 UTC (rev 779413)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=7
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 10:29:46
  Author: felixonmars
Revision: 780916

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 780915, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 10:29:46 UTC (rev 780916)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=8
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 06:39:45
  Author: felixonmars
Revision: 783803

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 783802, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 06:39:45 UTC (rev 783803)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=9
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 06:19:05
  Author: felixonmars
Revision: 786552

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 786551, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 06:19:05 UTC (rev 786552)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=10
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 00:33:54
  Author: felixonmars
Revision: 789292

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 789291, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 00:33:54 UTC (rev 789292)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=11
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 01:10:57
  Author: felixonmars
Revision: 791462

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 791461, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 01:10:57 UTC (rev 791462)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=12
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 22:39:23
  Author: felixonmars
Revision: 721636

archrelease: copy trunk to community-x86_64

Added:
  haskell-ghc-exactprint/repos/community-x86_64/
  haskell-ghc-exactprint/repos/community-x86_64/PKGBUILD
(from rev 721635, haskell-ghc-exactprint/trunk/PKGBUILD)

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

Copied: haskell-ghc-exactprint/repos/community-x86_64/PKGBUILD (from rev 
721635, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-10-07 22:39:23 UTC (rev 721636)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=1
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-09 Thread Felix Yan via arch-commits
Date: Friday, October 9, 2020 @ 17:50:37
  Author: felixonmars
Revision: 722609

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 722608, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-09 17:50:37 UTC (rev 722609)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=2
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 12:59:28
  Author: felixonmars
Revision: 744197

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 744196, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 12:59:28 UTC (rev 744197)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=11
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-13 Thread Felix Yan via arch-commits
Date: Friday, November 13, 2020 @ 19:45:52
  Author: felixonmars
Revision: 753969

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 753968, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-13 19:45:52 UTC (rev 753969)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=1
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 15:49:29
  Author: felixonmars
Revision: 755332

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 755331, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 15:49:29 UTC (rev 755332)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=2
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 17:36:56
  Author: felixonmars
Revision: 759305

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 759304, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 17:36:56 UTC (rev 759305)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=3
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 17:08:12
  Author: felixonmars
Revision: 764430

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 764429, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 17:08:12 UTC (rev 764430)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=4
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 23:20:32
  Author: felixonmars
Revision: 733679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 733678, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 23:20:32 UTC (rev 733679)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=7
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 16:59:42
  Author: felixonmars
Revision: 734665

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 734664, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 16:59:42 UTC (rev 734665)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=8
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 08:08:23
  Author: felixonmars
Revision: 737471

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 737470, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 08:08:23 UTC (rev 737471)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=9
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 13:19:39
  Author: felixonmars
Revision: 739646

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 739645, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 13:19:39 UTC (rev 739646)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=10
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 11:18:59
  Author: felixonmars
Revision: 774028

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 774027, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 11:18:59 UTC (rev 774028)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=5
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 23:32:16
  Author: felixonmars
Revision: 725236

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 725235, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 23:32:16 UTC (rev 725236)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=3
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 22:30:04
  Author: felixonmars
Revision: 728507

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 728506, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 22:30:04 UTC (rev 728507)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=4
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 20:02:42
  Author: felixonmars
Revision: 730068

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 730067, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 20:02:42 UTC (rev 730068)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=5
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:53:23
  Author: felixonmars
Revision: 732267

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 732266, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:53:23 UTC (rev 732267)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.2
+pkgrel=6
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('96d68d45f1bef87efc586c4105d6723c4b38785a031181d9b11788ef5445eeaf')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 01:00:56
  Author: felixonmars
Revision: 794189

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 794187, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 01:00:56 UTC (rev 794189)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=13
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 01:15:41
  Author: felixonmars
Revision: 796349

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghc-exactprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 796348, haskell-ghc-exactprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 01:15:41 UTC (rev 796349)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-exactprint
+pkgname=haskell-ghc-exactprint
+pkgver=0.6.3.3
+pkgrel=14
+pkgdesc="ExactPrint for GHC"
+url="https://github.com/alanz/ghc-exactprint.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-free' 'haskell-ghc-paths' 'haskell-syb')
+makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-filemanip' 
'haskell-silently')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fc67df1072aeb87c0c400bad6fc2cdc728c530643656805e4821960258a0aa8c1e4439b7a262b3667fd71fb198b11ed0096f7a3960f0eec387188d953a84e164')
+
+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
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}