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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 12:47:31
  Author: felixonmars
Revision: 797007

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 797006, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 797006, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 12:47:31 UTC (rev 797007)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=27
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 794854, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 794854, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 12:59:51 UTC (rev 794855)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=26
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 21:43:46
  Author: felixonmars
Revision: 793067

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 793066, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 793066, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 21:43:46 UTC (rev 793067)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=25
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 07:19:50
  Author: felixonmars
Revision: 792172

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 792171, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 792171, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 07:19:50 UTC (rev 792172)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=24
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 07:03:21
  Author: felixonmars
Revision: 789646

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 789645, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 789645, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 07:03:21 UTC (rev 789646)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=23
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 16:57:04
  Author: felixonmars
Revision: 788347

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 788346, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 788346, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 16:57:04 UTC (rev 788347)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=22
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 787058, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 787058, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 11:11:36 UTC (rev 787059)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=21
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
Agda-ghc-8.10.3.patch::https://github.com/agda/agda/commit/76278c23d447b49f59fac581ca4ac605792aabbc.patch)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615'
+
'6e9069daa725efb75394b10eb6b637b891c5cff52dc4ae169f6b49ee0601f82a0dca65326a0747affa25670722e447b3b9f4893da6e7788277951af0c9fb22ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../Agda-ghc-8.10.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 10:23:27
  Author: felixonmars
Revision: 784044

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 784043, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 784043, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 10:23:27 UTC (rev 784044)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=20
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 01:17:12
  Author: felixonmars
Revision: 781714

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 781713, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 781713, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 01:17:12 UTC (rev 781714)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=19
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 09:58:52
  Author: felixonmars
Revision: 778413

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 778412, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 778412, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 09:58:52 UTC (rev 778413)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=18
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 20:01:41
  Author: felixonmars
Revision: 776938

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 776937, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 776937, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-16 20:01:41 UTC (rev 776938)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=17
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 21:40:33
  Author: felixonmars
Revision: 776232

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 776231, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 776231, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-15 21:40:33 UTC (rev 776232)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=16
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 04:28:05
  Author: felixonmars
Revision: 774820

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 774819, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 774819, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 04:28:05 UTC (rev 774820)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=15
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-09 Thread Felix Yan via arch-commits
Date: Wednesday, December 9, 2020 @ 13:23:05
  Author: felixonmars
Revision: 772651

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 772650, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 772650, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-09 13:23:05 UTC (rev 772651)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=14
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-08 Thread Felix Yan via arch-commits
Date: Tuesday, December 8, 2020 @ 08:30:04
  Author: felixonmars
Revision: 771757

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 771756, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 771756, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-08 08:30:04 UTC (rev 771757)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=13
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-04 Thread Felix Yan via arch-commits
Date: Saturday, December 5, 2020 @ 02:24:23
  Author: felixonmars
Revision: 770402

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 770401, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 770401, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-05 02:24:23 UTC (rev 770402)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=12
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-03 Thread Felix Yan via arch-commits
Date: Thursday, December 3, 2020 @ 14:58:11
  Author: felixonmars
Revision: 769580

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 769579, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 769579, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-03 14:58:11 UTC (rev 769580)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=11
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-28 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 12:16:09
  Author: felixonmars
Revision: 765203

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 765202, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 765202, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 12:16:09 UTC (rev 765203)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=10
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-26 Thread Felix Yan via arch-commits
Date: Thursday, November 26, 2020 @ 16:05:58
  Author: felixonmars
Revision: 763593

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 763592, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 763592, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-26 16:05:58 UTC (rev 763593)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=9
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-25 Thread Felix Yan via arch-commits
Date: Wednesday, November 25, 2020 @ 19:13:48
  Author: felixonmars
Revision: 761212

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 761211, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 761211, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-25 19:13:48 UTC (rev 761212)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=8
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-23 Thread Felix Yan via arch-commits
Date: Monday, November 23, 2020 @ 11:14:57
  Author: felixonmars
Revision: 759871

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 759870, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 759870, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-23 11:14:57 UTC (rev 759871)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=7
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-20 Thread Felix Yan via arch-commits
Date: Friday, November 20, 2020 @ 20:15:03
  Author: felixonmars
Revision: 758081

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 758080, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 758080, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-20 20:15:03 UTC (rev 758081)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=6
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-18 Thread Felix Yan via arch-commits
Date: Wednesday, November 18, 2020 @ 23:26:09
  Author: felixonmars
Revision: 757299

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 757298, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 757298, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-18 23:26:09 UTC (rev 757299)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=5
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-17 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 20:09:55
  Author: felixonmars
Revision: 756866

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 756865, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 756865, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 20:09:55 UTC (rev 756866)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=4
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 05:10:05
  Author: felixonmars
Revision: 755944

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 755943, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 755943, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 05:10:05 UTC (rev 755944)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=3
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-10 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 16:02:52
  Author: felixonmars
Revision: 749613

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 749612, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 749612, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-10 16:02:52 UTC (rev 749613)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.2
+pkgrel=2
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('5ab35d9b581ed918481dd25619739dfa43ea3d86b9522989fe8c83b3aa8749bee81fb12e7cd6b4270c4890a3719386c62b220163324407a1201273d1dfe9d615')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup copy 
--destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 19:44:02
  Author: felixonmars
Revision: 745956

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 745955, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 745955, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 19:44:02 UTC (rev 745956)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=33
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 22:02:18
  Author: felixonmars
Revision: 744627

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 744626, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 744626, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 22:02:18 UTC (rev 744627)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=32
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 20:23:31
  Author: felixonmars
Revision: 742589

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 742588, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 742588, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 20:23:31 UTC (rev 742589)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=31
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-04 Thread Felix Yan via arch-commits
Date: Wednesday, November 4, 2020 @ 10:56:50
  Author: felixonmars
Revision: 741888

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 741887, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 741887, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-04 10:56:50 UTC (rev 741888)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=30
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 21:34:17
  Author: felixonmars
Revision: 741371

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 741370, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 741370, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 21:34:17 UTC (rev 741371)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=29
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:27:58
  Author: felixonmars
Revision: 740484

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 740483, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 740483, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 09:27:58 UTC (rev 740484)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=28
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Sunday, November 1, 2020 @ 01:40:40
  Author: felixonmars
Revision: 738080

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 738079, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 738079, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-01 01:40:40 UTC (rev 738080)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=27
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 15:20:29
  Author: felixonmars
Revision: 735514

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 735513, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 735513, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 15:20:29 UTC (rev 735514)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=26
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 18:45:20
  Author: felixonmars
Revision: 732864

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 732863, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 732863, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 18:45:20 UTC (rev 732864)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=25
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-23 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 22:24:35
  Author: felixonmars
Revision: 730950

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 730949, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 730949, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-23 22:24:35 UTC (rev 730950)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=24
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 730129, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 730129, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 20:57:42 UTC (rev 730130)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=23
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 729146, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 729146, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 14:14:42 UTC (rev 729147)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=22
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-19 Thread Felix Yan via arch-commits
Date: Monday, October 19, 2020 @ 17:27:37
  Author: felixonmars
Revision: 727197

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 727196, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 727196, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-19 17:27:37 UTC (rev 727197)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=21
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 16:30:38
  Author: felixonmars
Revision: 726745

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 726744, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 726744, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 16:30:38 UTC (rev 726745)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=20
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 10:35:08
  Author: felixonmars
Revision: 725876

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 725875, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 725875, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 10:35:08 UTC (rev 725876)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=19
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-10 Thread Felix Yan via arch-commits
Date: Saturday, October 10, 2020 @ 07:41:36
  Author: felixonmars
Revision: 722872

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 722871, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 722871, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-10 07:41:36 UTC (rev 722872)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=18
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-08 Thread Felix Yan via arch-commits
Date: Friday, October 9, 2020 @ 00:45:11
  Author: felixonmars
Revision: 722231

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 722230, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 722230, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-09 00:45:11 UTC (rev 722231)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=17
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-08 Thread Felix Yan via arch-commits
Date: Thursday, October 8, 2020 @ 19:46:09
  Author: felixonmars
Revision: 721923

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 721922, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 721922, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-08 19:46:09 UTC (rev 721923)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=16
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 17:59:46
  Author: felixonmars
Revision: 720774

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 720773, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 720773, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 17:59:46 UTC (rev 720774)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=15
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-05 Thread Felix Yan via arch-commits
Date: Monday, October 5, 2020 @ 17:27:13
  Author: felixonmars
Revision: 718768

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 718767, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 718767, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-05 17:27:13 UTC (rev 718768)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=14
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 16:31:07
  Author: felixonmars
Revision: 717709

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 717708, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 717708, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 16:31:07 UTC (rev 717709)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=13
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 19:34:54
  Author: felixonmars
Revision: 715533

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 715532, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 715532, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 19:34:54 UTC (rev 715533)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=12
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-28 Thread Felix Yan via arch-commits
Date: Monday, September 28, 2020 @ 19:22:01
  Author: felixonmars
Revision: 713265

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 713264, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 713264, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-28 19:22:01 UTC (rev 713265)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=11
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-28 Thread Felix Yan via arch-commits
Date: Monday, September 28, 2020 @ 11:58:41
  Author: felixonmars
Revision: 712917

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 712916, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 712916, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-28 11:58:41 UTC (rev 712917)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=10
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-25 Thread Felix Yan via arch-commits
Date: Friday, September 25, 2020 @ 17:25:40
  Author: felixonmars
Revision: 712128

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 712127, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 712127, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-25 17:25:40 UTC (rev 712128)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=9
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-18 Thread Felix Yan via arch-commits
Date: Saturday, September 19, 2020 @ 01:12:18
  Author: felixonmars
Revision: 710808

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 710807, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 710807, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-19 01:12:18 UTC (rev 710808)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=8
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-18 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 10:15:45
  Author: felixonmars
Revision: 709871

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 709870, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 709870, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 10:15:45 UTC (rev 709871)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=7
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-16 Thread Felix Yan via arch-commits
Date: Wednesday, September 16, 2020 @ 20:47:33
  Author: felixonmars
Revision: 708311

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 708310, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 708310, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-16 20:47:33 UTC (rev 708311)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=6
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-16 Thread Felix Yan via arch-commits
Date: Wednesday, September 16, 2020 @ 07:35:02
  Author: felixonmars
Revision: 707234

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 707233, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 707233, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-16 07:35:02 UTC (rev 707234)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=5
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-13 Thread Felix Yan via arch-commits
Date: Sunday, September 13, 2020 @ 08:02:09
  Author: felixonmars
Revision: 704982

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 704981, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 704981, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-13 08:02:09 UTC (rev 704982)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=4
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-11 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 00:02:29
  Author: felixonmars
Revision: 702944

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 702943, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 702943, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 00:02:29 UTC (rev 702944)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=3
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-08 Thread Felix Yan via arch-commits
Date: Tuesday, September 8, 2020 @ 23:03:18
  Author: felixonmars
Revision: 701407

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 701406, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 701406, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-08 23:03:18 UTC (rev 701407)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1.1
+pkgrel=2
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('fb5bb2d1bc2ea253e709da3a29920a06f35523fda88b9cdc3f0e957e240871d0e535ca4ca92e17d67f112324c0ad90058edcbac76a0bdf2baccdcd16b9af7c1f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 22:52:41
  Author: felixonmars
Revision: 700461

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 700460, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 700460, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 22:52:41 UTC (rev 700461)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=105
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 00:38:39
  Author: felixonmars
Revision: 698760

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 698759, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 698759, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-05 00:38:39 UTC (rev 698760)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=104
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 22:09:25
  Author: felixonmars
Revision: 697701

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 697700, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 697700, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 22:09:25 UTC (rev 697701)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=103
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-01 Thread Felix Yan via arch-commits
Date: Tuesday, September 1, 2020 @ 20:21:49
  Author: felixonmars
Revision: 695920

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 695919, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 695919, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-01 20:21:49 UTC (rev 695920)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=102
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-01 Thread Felix Yan via arch-commits
Date: Tuesday, September 1, 2020 @ 13:09:23
  Author: felixonmars
Revision: 695482

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 695481, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 695481, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-01 13:09:23 UTC (rev 695482)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=101
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 16:19:34
  Author: felixonmars
Revision: 694258

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 694257, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 694257, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 16:19:34 UTC (rev 694258)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=100
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 29, 2020 @ 00:52:58
  Author: felixonmars
Revision: 691376

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 691374, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 691374, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-29 00:52:58 UTC (rev 691376)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=99
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-26 Thread Felix Yan via arch-commits
Date: Wednesday, August 26, 2020 @ 19:18:59
  Author: felixonmars
Revision: 689015

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 689014, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 689014, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-26 19:18:59 UTC (rev 689015)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=98
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-23 Thread Felix Yan via arch-commits
Date: Monday, August 24, 2020 @ 00:27:12
  Author: felixonmars
Revision: 687436

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 687435, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 687435, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-24 00:27:12 UTC (rev 687436)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=97
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-23 Thread Felix Yan via arch-commits
Date: Sunday, August 23, 2020 @ 10:36:43
  Author: felixonmars
Revision: 687063

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 687062, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 687062, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-23 10:36:43 UTC (rev 687063)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=96
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 20:34:05
  Author: felixonmars
Revision: 686454

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 686453, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 686453, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-21 20:34:05 UTC (rev 686454)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=95
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 12:27:19
  Author: felixonmars
Revision: 685948

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 685947, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 685947, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-21 12:27:19 UTC (rev 685948)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=94
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-19 Thread Felix Yan via arch-commits
Date: Wednesday, August 19, 2020 @ 21:01:35
  Author: felixonmars
Revision: 685213

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 685212, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 685212, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-19 21:01:35 UTC (rev 685213)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=93
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-18 Thread Felix Yan via arch-commits
Date: Tuesday, August 18, 2020 @ 10:50:52
  Author: felixonmars
Revision: 683807

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 683806, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 683806, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-18 10:50:52 UTC (rev 683807)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=92
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch
+
agda-ghc-8.10.2.patch::https://github.com/agda/agda/commit/020418385c14b89ec2ea462f9376ed8549a30b15.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66'
+
'ea83aa2119941ad7f6fa4dc4176843dc1b070c339614c92cd2aaac03f90e5a9b367d67afae32662004ba0ce50b256bf0c9be9b849de5c3f099dede36bdd53392')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+patch -p1 -i ../agda-ghc-8.10.2.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 19:59:50
  Author: felixonmars
Revision: 681872

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 681871, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 681871, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 19:59:50 UTC (rev 681872)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=91
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 07:35:25
  Author: felixonmars
Revision: 680763

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 680762, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 680762, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 07:35:25 UTC (rev 680763)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=90
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 05:59:11
  Author: felixonmars
Revision: 679382

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 679381, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 679381, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 05:59:11 UTC (rev 679382)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=89
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch
+
agda-aeson-1.5.3.patch::https://github.com/agda/agda/commit/292f7d8c3def7e69ce9e79c67c895d6a4956dc5f.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b'
+
'9d8c233c87161ba80d283db0e301c2ff80f771a9e63416fce5c0e846146cd6a4aeae91a97dff869a724afc021c26d4c3088ebfc3a11c814d637fac5a5b66')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+patch -p1 -i ../agda-aeson-1.5.3.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-14 Thread Felix Yan via arch-commits
Date: Friday, August 14, 2020 @ 06:46:18
  Author: felixonmars
Revision: 678316

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 678315, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 678315, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-14 06:46:18 UTC (rev 678316)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=88
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 06:32:40
  Author: felixonmars
Revision: 676873

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 676872, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 676872, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 06:32:40 UTC (rev 676873)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=87
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-12 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 07:20:42
  Author: felixonmars
Revision: 675582

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 675581, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 675581, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 07:20:42 UTC (rev 675582)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=86
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-10 Thread Felix Yan via arch-commits
Date: Monday, August 10, 2020 @ 19:29:07
  Author: felixonmars
Revision: 674070

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 674069, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 674069, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-10 19:29:07 UTC (rev 674070)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=85
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-10 Thread Felix Yan via arch-commits
Date: Monday, August 10, 2020 @ 10:36:24
  Author: felixonmars
Revision: 673535

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 673534, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 673534, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-10 10:36:24 UTC (rev 673535)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=84
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-09 Thread Felix Yan via arch-commits
Date: Sunday, August 9, 2020 @ 19:36:16
  Author: felixonmars
Revision: 673320

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 673319, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 673319, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-09 19:36:16 UTC (rev 673320)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=83
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;
+
agda-strict-0.4.patch::https://github.com/felixonmars/agda/commit/0497ec9fdde159a56ee42821e500b52d66374201.patch)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f'
+
'6968a367d8d8cfa9a89d4760ba13aa5236ff1d3597ad8ef9301c33d3696decec092d4fd3556ae8c0bf4c09cd1f157ddb38b1443c2d340487a7eef93cf23a3a7b')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../agda-strict-0.4.patch
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-09 Thread Felix Yan via arch-commits
Date: Sunday, August 9, 2020 @ 18:00:50
  Author: felixonmars
Revision: 673303

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 673302, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 673302, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-09 18:00:50 UTC (rev 673303)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=82
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 9, 2020 @ 04:16:42
  Author: felixonmars
Revision: 672979

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 672978, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 672978, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-09 04:16:42 UTC (rev 672979)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=81
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-08 Thread Felix Yan via arch-commits
Date: Saturday, August 8, 2020 @ 16:24:31
  Author: felixonmars
Revision: 672463

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 672462, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 672462, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-08 16:24:31 UTC (rev 672463)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=80
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-08 Thread Felix Yan via arch-commits
Date: Saturday, August 8, 2020 @ 08:56:56
  Author: felixonmars
Revision: 671987

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 671986, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 671986, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-08 08:56:56 UTC (rev 671987)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=79
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-07 Thread Felix Yan via arch-commits
Date: Friday, August 7, 2020 @ 08:44:29
  Author: felixonmars
Revision: 671360

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 671359, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 671359, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-07 08:44:29 UTC (rev 671360)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=78
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-06 Thread Felix Yan via arch-commits
Date: Thursday, August 6, 2020 @ 14:11:17
  Author: felixonmars
Revision: 670936

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 670935, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 670935, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-06 14:11:17 UTC (rev 670936)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=77
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-06 Thread Felix Yan via arch-commits
Date: Thursday, August 6, 2020 @ 06:29:09
  Author: felixonmars
Revision: 670534

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 670533, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 670533, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-06 06:29:09 UTC (rev 670534)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=76
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-01 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 09:57:34
  Author: felixonmars
Revision: 667359

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 667358, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 667358, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 09:57:34 UTC (rev 667359)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=69
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' 
src/full/Agda/Compiler/MAlonzo/Compiler.hs
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Symlink to avoid writing to this place when agda-lib is present
+install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda
+ln -s ../../../prim "$pkgdir"/usr/share/agda/lib/_build/$pkgver/agda/
+
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 13:23:22
  Author: felixonmars
Revision: 656279

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 656278, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 656278, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 13:23:22 UTC (rev 656279)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=67
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-27 Thread Felix Yan via arch-commits
Date: Saturday, June 27, 2020 @ 05:46:30
  Author: felixonmars
Revision: 654503

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 654502, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 654502, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-27 05:46:30 UTC (rev 654503)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=66
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-27 Thread Felix Yan via arch-commits
Date: Friday, June 26, 2020 @ 02:40:22
  Author: felixonmars
Revision: 653350

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 653349, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 653349, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-26 02:40:22 UTC (rev 653350)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=64
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 22:17:01
  Author: felixonmars
Revision: 652493

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 652492, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 652492, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 22:17:01 UTC (rev 652493)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=63
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-22 Thread Felix Yan via arch-commits
Date: Monday, June 22, 2020 @ 15:10:48
  Author: felixonmars
Revision: 650592

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 650591, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 650591, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-22 15:10:48 UTC (rev 650592)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=62
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-21 Thread Felix Yan via arch-commits
Date: Sunday, June 21, 2020 @ 11:04:11
  Author: felixonmars
Revision: 649159

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 649158, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 649158, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-21 11:04:11 UTC (rev 649159)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=61
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-20 Thread Felix Yan via arch-commits
Date: Saturday, June 20, 2020 @ 11:35:38
  Author: felixonmars
Revision: 648307

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 648306, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 648306, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-20 11:35:38 UTC (rev 648307)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=60
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-19 Thread Felix Yan via arch-commits
Date: Friday, June 19, 2020 @ 20:21:43
  Author: felixonmars
Revision: 647849

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 647848, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 647848, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-19 20:21:43 UTC (rev 647849)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=59
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-18 Thread Felix Yan via arch-commits
Date: Thursday, June 18, 2020 @ 18:24:42
  Author: felixonmars
Revision: 647406

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 647405, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 647405, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-18 18:24:42 UTC (rev 647406)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=58
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-18 Thread Felix Yan via arch-commits
Date: Thursday, June 18, 2020 @ 08:52:18
  Author: felixonmars
Revision: 646836

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 646835, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 646835, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-18 08:52:18 UTC (rev 646836)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=57
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-16 Thread Felix Yan via arch-commits
Date: Tuesday, June 16, 2020 @ 06:38:17
  Author: felixonmars
Revision: 645896

archrelease: copy trunk to community-staging-x86_64

Added:
  agda/repos/community-staging-x86_64/
  agda/repos/community-staging-x86_64/PKGBUILD
(from rev 645895, agda/trunk/PKGBUILD)

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

Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 645895, 
agda/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-16 06:38:17 UTC (rev 645896)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=Agda
+pkgname=agda
+pkgver=2.6.1
+pkgrel=56
+pkgdesc="A dependently typed functional programming language and proof 
assistant"
+url="https://wiki.portal.chalmers.se/agda/;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 
'haskell-boxes'
+ 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' 
'haskell-equivalence'
+ 'haskell-geniplate-mirror' 'haskell-gitrev' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-ieee754' 'haskell-murmur-hash' 
'haskell-regex-tdfa'
+ 'haskell-split' 'haskell-strict' 'haskell-unordered-containers' 
'haskell-uri-encode'
+ 'haskell-zlib')
+optdepends=('agda-stdlib: for standard library')
+makedepends=('alex' 'happy' 'ghc' 'haskell-filemanip')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/agda/agda/archive/v$pkgver.tar.gz;)
+sha512sums=('e8dffa93e477dff44a91132f6163165dcb9f8804d68c4e218f5ce6ff297349c139c6aac0e52e4113d0fbe82e11b2b04ab47fce03f7b6a768b22fbcaeeb759f6f')
+
+prepare() {
+mkdir -p lib-target
+cp -a $pkgname-$pkgver/src/data/lib lib-target/lib
+
+cd $pkgname-$pkgver
+sed -e "s|(\"Agda_datadir\", agda_datadir) : e|[(\"Agda_datadir\", 
agda_datadir), (\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ e|" \
+-i Setup.hs
+sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcpphs -f-debug -f-enable-cluster-counting
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   3   4   >