Date: Saturday, January 15, 2022 @ 22:38:54 Author: felixonmars Revision: 1105140
archrelease: copy trunk to community-x86_64 Added: agda-stdlib/repos/community-x86_64/PKGBUILD (from rev 1105139, agda-stdlib/trunk/PKGBUILD) agda-stdlib/repos/community-x86_64/standard-library.agda-lib.in (from rev 1105139, agda-stdlib/trunk/standard-library.agda-lib.in) Deleted: agda-stdlib/repos/community-x86_64/PKGBUILD agda-stdlib/repos/community-x86_64/standard-library.agda-lib.in ------------------------------+ PKGBUILD | 96 ++++++++++++++++++++--------------------- standard-library.agda-lib.in | 4 - 2 files changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-15 22:38:43 UTC (rev 1105139) +++ PKGBUILD 2022-01-15 22:38:54 UTC (rev 1105140) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=agda-stdlib -pkgver=1.7 -_agdaver=2.6.2 -pkgrel=1 -pkgdesc="Agda standard libraries" -url="https://github.com/agda/agda-stdlib" -license=("MIT") -arch=('x86_64') -depends=("agda=$_agdaver") -makedepends=('ghc' 'haskell-filemanip') -options=('staticlibs') -source=("$pkgname-$pkgver.tar.gz::https://github.com/agda/agda-stdlib/archive/v$pkgver.tar.gz" - standard-library.agda-lib.in) -sha512sums=('2ca0bfa1617f01b8994b3a3c9918b74ca9f05908e7a4fdcaf71e8717ec6d8b0e902214bd8ac39c64223f3ad5bee290bd60eb7a0e3492d8609f8f8248f21aea1a' - '92fad2f9b941af4506bb0d5d9d533d09823df89f7530ee5d787b741816ba07e68f25b96d6653ae6ed949ec23484c1fba47a63cc6401311462a55b5e06cfc032c') - -prepare() { - cd $pkgname-$pkgver - rm standard-library.agda-lib -} - -build() { - cd $pkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla - runhaskell Setup build $MAKEFLAGS - - dist/build/GenerateEverything/GenerateEverything - - agda -i. -isrc Everything.agda -} - -package() { - install -Dm644 standard-library.agda-lib.in "$pkgdir"/usr/share/agda/lib/standard-library.agda-lib - - cd $pkgname-$pkgver - install -dm755 "$pkgdir"/usr/share/agda/lib/stdlib - cp -pr src/* "$pkgdir"/usr/share/agda/lib/stdlib/ - - # Symlink to avoid writing to this place when agda-lib is present - install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$_agdaver/agda - ln -s ../../../stdlib "$pkgdir"/usr/share/agda/lib/_build/$_agdaver/agda/ - - install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE -} Copied: agda-stdlib/repos/community-x86_64/PKGBUILD (from rev 1105139, agda-stdlib/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-15 22:38:54 UTC (rev 1105140) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=agda-stdlib +pkgver=1.7.1 +_agdaver=2.6.2 +pkgrel=1 +pkgdesc="Agda standard libraries" +url="https://github.com/agda/agda-stdlib" +license=("MIT") +arch=('x86_64') +depends=("agda=$_agdaver") +makedepends=('ghc' 'haskell-filemanip') +options=('staticlibs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/agda/agda-stdlib/archive/v$pkgver.tar.gz" + standard-library.agda-lib.in) +sha512sums=('fd0fc0b6a97dd4a51bd0208691800046ecdd200d9e57c83b0c3dae720c2e687942fee7c28be0cfdbdc0e54cefd9c2f1d1a683961bb368a48e5a02bf1bd36866a' + '92fad2f9b941af4506bb0d5d9d533d09823df89f7530ee5d787b741816ba07e68f25b96d6653ae6ed949ec23484c1fba47a63cc6401311462a55b5e06cfc032c') + +prepare() { + cd $pkgname-$pkgver + rm standard-library.agda-lib +} + +build() { + cd $pkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla + runhaskell Setup build $MAKEFLAGS + + dist/build/GenerateEverything/GenerateEverything + + agda -i. -isrc Everything.agda +} + +package() { + install -Dm644 standard-library.agda-lib.in "$pkgdir"/usr/share/agda/lib/standard-library.agda-lib + + cd $pkgname-$pkgver + install -dm755 "$pkgdir"/usr/share/agda/lib/stdlib + cp -pr src/* "$pkgdir"/usr/share/agda/lib/stdlib/ + + # Symlink to avoid writing to this place when agda-lib is present + install -dm755 "$pkgdir"/usr/share/agda/lib/_build/$_agdaver/agda + ln -s ../../../stdlib "$pkgdir"/usr/share/agda/lib/_build/$_agdaver/agda/ + + install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE +} Deleted: standard-library.agda-lib.in =================================================================== --- standard-library.agda-lib.in 2022-01-15 22:38:43 UTC (rev 1105139) +++ standard-library.agda-lib.in 2022-01-15 22:38:54 UTC (rev 1105140) @@ -1,2 +0,0 @@ -name: standard-library -include: stdlib Copied: agda-stdlib/repos/community-x86_64/standard-library.agda-lib.in (from rev 1105139, agda-stdlib/trunk/standard-library.agda-lib.in) =================================================================== --- standard-library.agda-lib.in (rev 0) +++ standard-library.agda-lib.in 2022-01-15 22:38:54 UTC (rev 1105140) @@ -0,0 +1,2 @@ +name: standard-library +include: stdlib