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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 10:41:46
  Author: felixonmars
Revision: 796795

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
796794, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 10:41:46 UTC (rev 796795)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=16
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:59:50
  Author: felixonmars
Revision: 794779

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
794778, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:59:50 UTC (rev 794779)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=15
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 05:31:49
  Author: felixonmars
Revision: 792008

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
792007, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 05:31:49 UTC (rev 792008)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=14
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 04:29:48
  Author: felixonmars
Revision: 789614

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
789613, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 04:29:48 UTC (rev 789614)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=13
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 14:26:15
  Author: felixonmars
Revision: 788147

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
788146, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 14:26:15 UTC (rev 788147)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=12
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 08:11:04
  Author: felixonmars
Revision: 786778

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
786777, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 08:11:04 UTC (rev 786778)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=11
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 07:34:55
  Author: felixonmars
Revision: 783871

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
783870, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 07:34:55 UTC (rev 783871)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=10
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 19:44:23
  Author: felixonmars
Revision: 781480

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
781479, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 19:44:23 UTC (rev 781480)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=9
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 22:52:57
  Author: felixonmars
Revision: 778236

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
778235, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 22:52:57 UTC (rev 778236)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=8
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 19:09:23
  Author: felixonmars
Revision: 776087

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
776086, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-15 19:09:23 UTC (rev 776087)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=7
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 23:52:24
  Author: felixonmars
Revision: 774664

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
774663, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 23:52:24 UTC (rev 774664)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=6
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-07 Thread Felix Yan via arch-commits
Date: Monday, December 7, 2020 @ 21:16:51
  Author: felixonmars
Revision: 771581

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
771580, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-07 21:16:51 UTC (rev 771581)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=5
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-04 Thread Felix Yan via arch-commits
Date: Saturday, December 5, 2020 @ 00:03:54
  Author: felixonmars
Revision: 770274

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
770273, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-05 00:03:54 UTC (rev 770274)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=4
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-27 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 02:39:24
  Author: felixonmars
Revision: 765009

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
765008, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 02:39:24 UTC (rev 765009)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=3
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Monday, November 23, 2020 @ 00:00:19
  Author: felixonmars
Revision: 759763

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
759762, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-23 00:00:19 UTC (rev 759763)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.1
+pkgrel=2
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 17:50:46
  Author: felixonmars
Revision: 755456

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
755455, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 17:50:46 UTC (rev 755456)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.4.0
+pkgrel=2
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 
'haskell-ghc'
+ 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-gitrev' 
'haskell-optparse-applicative'
+ 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('93e9c85e2730d1245dacab68466169d59d416431dd0454301bd24674f48ed73a04c302ce9e307706e2eece1a949d1ce07445ef7d5a4fe1e7dc244e174a53fdc9')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 15:21:04
  Author: felixonmars
Revision: 745863

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
745862, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 15:21:04 UTC (rev 745863)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.1
+pkgrel=5
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('87f0c096d55156263532d7877aa296a4514127c1b776bf1483dd9464f96f2285e1c1a269dc563d5d9b1236b0a88fd9de97fc8d99ff01a065b99c5b3425ef5a7a')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 13:32:48
  Author: felixonmars
Revision: 744259

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
744258, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 13:32:48 UTC (rev 744259)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.1
+pkgrel=4
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('87f0c096d55156263532d7877aa296a4514127c1b776bf1483dd9464f96f2285e1c1a269dc563d5d9b1236b0a88fd9de97fc8d99ff01a065b99c5b3425ef5a7a')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 18:41:42
  Author: felixonmars
Revision: 742531

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
742530, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 18:41:42 UTC (rev 742531)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.1
+pkgrel=3
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('87f0c096d55156263532d7877aa296a4514127c1b776bf1483dd9464f96f2285e1c1a269dc563d5d9b1236b0a88fd9de97fc8d99ff01a065b99c5b3425ef5a7a')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 08:27:59
  Author: felixonmars
Revision: 741718

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
741717, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 08:27:59 UTC (rev 741718)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.1
+pkgrel=2
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('87f0c096d55156263532d7877aa296a4514127c1b776bf1483dd9464f96f2285e1c1a269dc563d5d9b1236b0a88fd9de97fc8d99ff01a065b99c5b3425ef5a7a')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 15:45:24
  Author: felixonmars
Revision: 739900

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
739899, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 15:45:24 UTC (rev 739900)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=11
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 09:24:49
  Author: felixonmars
Revision: 737583

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
737582, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 09:24:49 UTC (rev 737583)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=10
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 09:39:14
  Author: felixonmars
Revision: 735320

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
735319, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 09:39:14 UTC (rev 735320)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=9
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 22:57:06
  Author: felixonmars
Revision: 733647

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
733646, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 22:57:06 UTC (rev 733647)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=8
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 14:01:45
  Author: felixonmars
Revision: 732644

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
732643, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 14:01:45 UTC (rev 732644)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=7
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-23 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 20:42:23
  Author: felixonmars
Revision: 730853

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
730852, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-23 20:42:23 UTC (rev 730853)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=6
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-21 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 00:07:42
  Author: felixonmars
Revision: 728641

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
728640, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 00:07:42 UTC (rev 728641)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=5
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 20:34:16
  Author: felixonmars
Revision: 726786

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
726785, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 20:34:16 UTC (rev 726786)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=4
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 14:41:11
  Author: felixonmars
Revision: 726058

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
726057, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 14:41:11 UTC (rev 726058)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=3
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-09 Thread Felix Yan via arch-commits
Date: Friday, October 9, 2020 @ 17:34:27
  Author: felixonmars
Revision: 722579

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ormolu/repos/community-staging-x86_64/PKGBUILD (from rev 
722578, haskell-ormolu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-09 17:34:27 UTC (rev 722579)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=2
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-08 Thread Felix Yan via arch-commits
Date: Thursday, October 8, 2020 @ 17:33:40
  Author: felixonmars
Revision: 721795

archrelease: copy trunk to community-x86_64

Added:
  haskell-ormolu/repos/community-x86_64/
  haskell-ormolu/repos/community-x86_64/PKGBUILD
(from rev 721794, haskell-ormolu/trunk/PKGBUILD)

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

Copied: haskell-ormolu/repos/community-x86_64/PKGBUILD (from rev 721794, 
haskell-ormolu/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-10-08 17:33:40 UTC (rev 721795)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ormolu
+pkgname=haskell-ormolu
+pkgver=0.1.3.0
+pkgrel=1
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/tweag/ormolu;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-boot' 
'haskell-ghc-boot-th'
+ 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('47a2b0a5759e8d7199cd64fc66dd88b5db2d61d9dbae475582d91f1e668e488f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i -e 's/ghc-lib-parser/ghc, ghc-boot, ghc-boot-th/' $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
+  uusi $_hkgname.cabal
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}