[arch-commits] Commit in agda/repos (2 files)
Date: Saturday, September 10, 2022 @ 15:55:00 Author: felixonmars Revision: 1299557 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1299556, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1299556, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-10 15:55:00 UTC (rev 1299557) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, September 9, 2022 @ 22:55:53 Author: felixonmars Revision: 1297932 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1297931, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1297931, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-09 22:55:53 UTC (rev 1297932) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, September 8, 2022 @ 09:48:04 Author: felixonmars Revision: 1296434 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1296433, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1296433, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-08 09:48:04 UTC (rev 1296434) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, September 6, 2022 @ 19:25:39 Author: felixonmars Revision: 1294671 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1294670, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1294670, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-06 19:25:39 UTC (rev 1294671) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, September 3, 2022 @ 10:02:23 Author: felixonmars Revision: 1291468 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1291467, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1291467, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-03 10:02:23 UTC (rev 1291468) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, August 31, 2022 @ 20:19:59 Author: felixonmars Revision: 1289347 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1289346, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1289346, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-31 20:19:59 UTC (rev 1289347) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, August 30, 2022 @ 00:12:54 Author: felixonmars Revision: 1287141 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1287140, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1287140, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-30 00:12:54 UTC (rev 1287141) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, August 29, 2022 @ 14:35:29 Author: felixonmars Revision: 1285261 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1285260, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1285260, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-29 14:35:29 UTC (rev 1285261) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, August 26, 2022 @ 16:51:53 Author: felixonmars Revision: 1283224 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1283223, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1283223, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 16:51:53 UTC (rev 1283224) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, August 26, 2022 @ 07:18:31 Author: felixonmars Revision: 1280985 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1280984, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1280984, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 07:18:31 UTC (rev 1280985) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, August 25, 2022 @ 18:39:57 Author: felixonmars Revision: 1279895 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1279894, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1279894, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 18:39:57 UTC (rev 1279895) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, August 25, 2022 @ 00:16:51 Author: felixonmars Revision: 1278121 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1278120, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1278120, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 00:16:51 UTC (rev 1278121) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, August 21, 2022 @ 17:22:58 Author: felixonmars Revision: 1273057 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1273056, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1273056, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 17:22:58 UTC (rev 1273057) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, August 21, 2022 @ 07:15:37 Author: felixonmars Revision: 1271597 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1271596, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1271596, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 07:15:37 UTC (rev 1271597) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, August 19, 2022 @ 07:53:07 Author: felixonmars Revision: 1269562 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1269561, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1269561, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-19 07:53:07 UTC (rev 1269562) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, August 18, 2022 @ 12:59:29 Author: felixonmars Revision: 1267311 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1267310, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1267310, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-18 12:59:29 UTC (rev 1267311) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, August 16, 2022 @ 09:25:18 Author: felixonmars Revision: 1266615 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1266614, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1266614, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-16 09:25:18 UTC (rev 1266615) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, August 12, 2022 @ 17:48:51 Author: felixonmars Revision: 1265616 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1265615, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1265615, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-12 17:48:51 UTC (rev 1265616) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, August 9, 2022 @ 17:13:16 Author: felixonmars Revision: 1264100 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1264099, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1264099, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-09 17:13:16 UTC (rev 1264100) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, August 8, 2022 @ 19:07:14 Author: felixonmars Revision: 1262045 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1262044, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1262044, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-08 19:07:14 UTC (rev 1262045) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, July 31, 2022 @ 18:45:51 Author: felixonmars Revision: 1259426 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1259425, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1259425, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-31 18:45:51 UTC (rev 1259426) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, July 25, 2022 @ 10:34:17 Author: felixonmars Revision: 1257437 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1257436, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1257436, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-25 10:34:17 UTC (rev 1257437) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, July 23, 2022 @ 07:36:21 Author: felixonmars Revision: 1255506 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1255505, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1255505, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-23 07:36:21 UTC (rev 1255506) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, July 19, 2022 @ 09:53:48 Author: felixonmars Revision: 1254575 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1254574, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1254574, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-19 09:53:48 UTC (rev 1254575) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('9ceb2d632fd1fd6e9c9a2ec54a834a0357e31852ac4a88db45dd6f3b629a0f1d335686083f2d94187a3e5d7812b0471841581e54111efe33db430800d41381d9') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, July 16, 2022 @ 03:34:44 Author: felixonmars Revision: 1253416 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1253415, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1253415, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-16 03:34:44 UTC (rev 1253416) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('9ceb2d632fd1fd6e9c9a2ec54a834a0357e31852ac4a88db45dd6f3b629a0f1d335686083f2d94187a3e5d7812b0471841581e54111efe33db430800d41381d9') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, July 12, 2022 @ 20:13:36 Author: felixonmars Revision: 1251267 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1251266, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1251266, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-12 20:13:36 UTC (rev 1251267) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('9ceb2d632fd1fd6e9c9a2ec54a834a0357e31852ac4a88db45dd6f3b629a0f1d335686083f2d94187a3e5d7812b0471841581e54111efe33db430800d41381d9') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, July 6, 2022 @ 23:25:15 Author: felixonmars Revision: 1247153 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1247152, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1247152, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-06 23:25:15 UTC (rev 1247153) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, July 5, 2022 @ 20:25:30 Author: felixonmars Revision: 1245535 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1245534, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1245534, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-05 20:25:30 UTC (rev 1245535) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, June 29, 2022 @ 22:59:59 Author: felixonmars Revision: 1241743 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1241742, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1241742, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-29 22:59:59 UTC (rev 1241743) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, June 11, 2022 @ 23:42:08 Author: felixonmars Revision: 1235723 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1235722, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1235722, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 23:42:08 UTC (rev 1235723) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, June 11, 2022 @ 12:59:51 Author: felixonmars Revision: 1233459 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1233458, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1233458, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 12:59:51 UTC (rev 1233459) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, June 10, 2022 @ 22:24:31 Author: felixonmars Revision: 1231759 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1231758, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1231758, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-10 22:24:31 UTC (rev 1231759) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, June 9, 2022 @ 20:38:17 Author: felixonmars Revision: 1229800 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1229799, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1229799, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-09 20:38:17 UTC (rev 1229800) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, June 7, 2022 @ 06:12:34 Author: felixonmars Revision: 1227535 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1227534, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1227534, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-07 06:12:34 UTC (rev 1227535) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, June 6, 2022 @ 10:47:56 Author: felixonmars Revision: 1225863 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1225862, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1225862, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-06 10:47:56 UTC (rev 1225863) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, June 5, 2022 @ 19:29:06 Author: felixonmars Revision: 1224136 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1224135, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1224135, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-05 19:29:06 UTC (rev 1224136) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, June 4, 2022 @ 16:13:20 Author: felixonmars Revision: 1221894 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1221893, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1221893, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-04 16:13:20 UTC (rev 1221894) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, June 3, 2022 @ 10:24:50 Author: felixonmars Revision: 1220190 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1220189, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1220189, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-03 10:24:50 UTC (rev 1220190) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, May 30, 2022 @ 11:22:28 Author: felixonmars Revision: 1216042 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1216041, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1216041, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-30 11:22:28 UTC (rev 1216042) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, May 29, 2022 @ 04:54:28 Author: felixonmars Revision: 1213822 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1213821, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1213821, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-29 04:54:28 UTC (rev 1213822) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, May 28, 2022 @ 16:51:51 Author: felixonmars Revision: 1212350 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1212349, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1212349, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-28 16:51:51 UTC (rev 1212350) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, May 18, 2022 @ 13:52:22 Author: felixonmars Revision: 1208211 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1208210, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1208210, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-18 13:52:22 UTC (rev 1208211) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, May 14, 2022 @ 14:30:24 Author: felixonmars Revision: 1204863 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1204862, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1204862, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 14:30:24 UTC (rev 1204863) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, May 13, 2022 @ 10:26:32 Author: felixonmars Revision: 1201417 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1201416, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1201416, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-13 10:26:32 UTC (rev 1201417) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, May 12, 2022 @ 09:09:09 Author: felixonmars Revision: 1198648 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1198647, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1198647, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-12 09:09:09 UTC (rev 1198648) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, May 10, 2022 @ 12:57:49 Author: felixonmars Revision: 1197842 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1197841, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1197841, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 12:57:49 UTC (rev 1197842) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, May 10, 2022 @ 07:55:01 Author: felixonmars Revision: 1196988 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1196987, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1196987, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 07:55:01 UTC (rev 1196988) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, April 23, 2022 @ 22:30:37 Author: felixonmars Revision: 1188977 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1188976, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1188976, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-23 22:30:37 UTC (rev 1188977) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, April 10, 2022 @ 11:29:46 Author: felixonmars Revision: 1184451 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1184450, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1184450, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-10 11:29:46 UTC (rev 1184451) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, April 6, 2022 @ 21:01:01 Author: felixonmars Revision: 1181892 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1181891, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1181891, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-06 21:01:01 UTC (rev 1181892) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, April 1, 2022 @ 06:06:15 Author: felixonmars Revision: 1179286 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1179285, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1179285, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-01 06:06:15 UTC (rev 1179286) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, March 24, 2022 @ 20:11:44 Author: felixonmars Revision: 1175167 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1175166, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1175166, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 20:11:44 UTC (rev 1175167) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=75 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, March 24, 2022 @ 02:24:40 Author: felixonmars Revision: 1173417 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1173416, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1173416, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 02:24:40 UTC (rev 1173417) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=74 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, March 20, 2022 @ 19:01:38 Author: felixonmars Revision: 1164960 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1164959, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1164959, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-20 19:01:38 UTC (rev 1164960) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=72 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, March 19, 2022 @ 16:15:46 Author: felixonmars Revision: 1161662 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1161661, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1161661, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-19 16:15:46 UTC (rev 1161662) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=71 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, March 18, 2022 @ 17:26:03 Author: felixonmars Revision: 1158736 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1158735, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1158735, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-18 17:26:03 UTC (rev 1158736) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=70 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, March 15, 2022 @ 10:50:48 Author: felixonmars Revision: 1154174 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1154172, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1154172, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-15 10:50:48 UTC (rev 1154174) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, March 14, 2022 @ 13:04:33 Author: felixonmars Revision: 1152682 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1152681, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1152681, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-14 13:04:33 UTC (rev 1152682) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=68 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, March 11, 2022 @ 12:55:25 Author: felixonmars Revision: 1148257 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1148256, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1148256, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-11 12:55:25 UTC (rev 1148257) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, March 8, 2022 @ 08:22:10 Author: felixonmars Revision: 1145402 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1145401, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1145401, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-08 08:22:10 UTC (rev 1145402) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, March 3, 2022 @ 23:49:31 Author: felixonmars Revision: 1141470 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1141469, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1141469, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-03 23:49:31 UTC (rev 1141470) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=65 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, February 28, 2022 @ 08:04:30 Author: felixonmars Revision: 1138218 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1138217, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1138217, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-28 08:04:30 UTC (rev 1138218) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, February 21, 2022 @ 00:12:34 Author: felixonmars Revision: 1135505 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1135504, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1135504, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-21 00:12:34 UTC (rev 1135505) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence -u hashable $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, February 11, 2022 @ 04:17:28 Author: felixonmars Revision: 1131705 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1131704, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1131704, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-11 04:17:28 UTC (rev 1131705) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, February 10, 2022 @ 20:17:30 Author: felixonmars Revision: 1131365 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1131364, agda/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1131364, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-10 20:17:30 UTC (rev 1131365) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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' 'uusi' 'haskell-filemanip') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha512sums=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +uusi -u equivalence $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, February 9, 2022 @ 23:47:29 Author: felixonmars Revision: 1130510 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1130509, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1130509, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-09 23:47:29 UTC (rev 1130510) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Monday, February 7, 2022 @ 22:49:10 Author: felixonmars Revision: 1128850 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1128849, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1128849, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-07 22:49:10 UTC (rev 1128850) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, February 4, 2022 @ 20:59:18 Author: felixonmars Revision: 1126011 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1126010, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1126010, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-04 20:59:18 UTC (rev 1126011) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, February 4, 2022 @ 00:07:20 Author: felixonmars Revision: 1125036 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1125035, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1125035, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-04 00:07:20 UTC (rev 1125036) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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' 'ghc' 'haskell-aeson' 'haskell-async' 'haskell-blaze-html' 'haskell-boxes' + 'haskell-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, February 2, 2022 @ 23:14:41 Author: felixonmars Revision: 1123538 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1123537, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1123537, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-02 23:14:41 UTC (rev 1123538) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=55 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, January 28, 2022 @ 18:54:58 Author: felixonmars Revision: 1118430 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1118429, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1118429, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-28 18:54:58 UTC (rev 1118430) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=54 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, January 25, 2022 @ 09:01:32 Author: felixonmars Revision: 1115429 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1115428, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1115428, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-25 09:01:32 UTC (rev 1115429) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=53 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, January 21, 2022 @ 19:50:45 Author: felixonmars Revision: 1112512 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1112511, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1112511, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-21 19:50:45 UTC (rev 1112512) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=52 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, January 18, 2022 @ 13:54:55 Author: felixonmars Revision: 1108892 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1108891, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1108891, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-18 13:54:55 UTC (rev 1108892) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=51 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, January 16, 2022 @ 22:31:19 Author: felixonmars Revision: 1106580 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1106579, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1106579, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-16 22:31:19 UTC (rev 1106580) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=50 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, January 15, 2022 @ 15:08:18 Author: felixonmars Revision: 1104249 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1104248, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1104248, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-15 15:08:18 UTC (rev 1104249) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=49 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Friday, January 14, 2022 @ 14:16:03 Author: felixonmars Revision: 1103255 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1103254, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1103254, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-14 14:16:03 UTC (rev 1103255) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=48 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, January 11, 2022 @ 23:01:50 Author: felixonmars Revision: 1101229 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1101227, agda/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1101227, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-11 23:01:50 UTC (rev 1101229) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=47 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +# https://gitlab.haskell.org/ghc/ghc/-/issues/20559 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, January 9, 2022 @ 21:52:50 Author: felixonmars Revision: 1098624 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1098623, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1098623, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-09 21:52:50 UTC (rev 1098624) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=46 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, January 8, 2022 @ 02:29:26 Author: felixonmars Revision: 1096894 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1096893, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1096893, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-08 02:29:26 UTC (rev 1096894) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=45 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, January 6, 2022 @ 04:29:55 Author: felixonmars Revision: 1094342 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1094341, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1094341, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-01-06 04:29:55 UTC (rev 1094342) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=44 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Friday, December 31, 2021 @ 10:31:19 Author: felixonmars Revision: 1090004 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1090003, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1090003, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-31 10:31:19 UTC (rev 1090004) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=43 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, December 29, 2021 @ 11:56:08 Author: felixonmars Revision: 1087015 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1087014, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1087014, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-29 11:56:08 UTC (rev 1087015) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=42 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, December 28, 2021 @ 05:20:13 Author: felixonmars Revision: 1085118 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1085117, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1085117, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-28 05:20:13 UTC (rev 1085118) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=41 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, December 21, 2021 @ 01:29:42 Author: felixonmars Revision: 1081308 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1081307, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1081307, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-21 01:29:42 UTC (rev 1081308) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=40 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Monday, December 20, 2021 @ 03:00:37 Author: felixonmars Revision: 1079333 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1079332, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1079332, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-20 03:00:37 UTC (rev 1079333) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=39 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, December 18, 2021 @ 21:48:03 Author: felixonmars Revision: 1077820 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1077819, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1077819, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-18 21:48:03 UTC (rev 1077820) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=38 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, December 16, 2021 @ 08:32:46 Author: felixonmars Revision: 1074049 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1074048, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1074048, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-16 08:32:46 UTC (rev 1074049) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=37 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Monday, December 13, 2021 @ 13:38:27 Author: felixonmars Revision: 1071686 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1071685, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1071685, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-13 13:38:27 UTC (rev 1071686) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=36 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Monday, November 29, 2021 @ 03:32:55 Author: felixonmars Revision: 1056285 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1056284, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1056284, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-29 03:32:55 UTC (rev 1056285) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=35 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, November 18, 2021 @ 14:16:04 Author: felixonmars Revision: 1052325 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1052324, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1052324, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-18 14:16:04 UTC (rev 1052325) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +pkgrel=34 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Wednesday, November 17, 2021 @ 10:56:36 Author: felixonmars Revision: 1049831 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1049830, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1049830, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-17 10:56:36 UTC (rev 1049831) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, November 13, 2021 @ 19:24:30 Author: felixonmars Revision: 1045923 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1045922, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1045922, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-13 19:24:30 UTC (rev 1045923) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Friday, November 12, 2021 @ 08:25:55 Author: felixonmars Revision: 1043372 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1043371, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1043371, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-12 08:25:55 UTC (rev 1043372) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, November 11, 2021 @ 11:46:08 Author: felixonmars Revision: 1041992 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1041991, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1041991, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-11 11:46:08 UTC (rev 1041992) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Thursday, November 11, 2021 @ 00:28:56 Author: felixonmars Revision: 1040714 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1040713, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1040713, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-11 00:28:56 UTC (rev 1040714) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Sunday, November 7, 2021 @ 01:23:50 Author: felixonmars Revision: 1038038 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1038037, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1038037, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-07 01:23:50 UTC (rev 1038038) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.2 +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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Saturday, November 6, 2021 @ 23:34:25 Author: felixonmars Revision: 1037920 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1037919, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1037919, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-06 23:34:25 UTC (rev 1037920) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, November 2, 2021 @ 22:31:02 Author: felixonmars Revision: 1035426 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1035425, agda/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1035425, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-02 22:31:02 UTC (rev 1035426) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/fno-warn-overlapping-patterns/a \, "-dynamic"' src/full/Agda/Compiler/MAlonzo/Compiler.hs +} + +build() { +cd $_hkgname-$pkgver + +# -fllvm is disabled because ghc+llc hangs since LLVM 13 +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 --ghc-option=-fasm \ +-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)
Date: Tuesday, October 12, 2021 @ 11:59:37 Author: felixonmars Revision: 1029802 archrelease: copy trunk to community-staging-x86_64 Added: agda/repos/community-staging-x86_64/ agda/repos/community-staging-x86_64/PKGBUILD (from rev 1029801, agda/trunk/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: agda/repos/community-staging-x86_64/PKGBUILD (from rev 1029801, agda/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-12 11:59:37 UTC (rev 1029802) @@ -0,0 +1,55 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=Agda +pkgname=agda +pkgver=2.6.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-case-insensitive' 'haskell-cpphs' 'haskell-data-hash' 'haskell-edit-distance' + 'haskell-equivalence' 'haskell-gitrev' 'haskell-hashable' 'haskell-hashtables' + 'haskell-monad-control' 'haskell-murmur-hash' 'haskell-parallel' '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=('1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627') + +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 --ghc-option=-fllvm \ +-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 +}