[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Tuesday, December 29, 2020 @ 10:58:18 Author: felixonmars Revision: 796825 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 796824, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 796824, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-29 10:58:18 UTC (rev 796825) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=16 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Monday, December 28, 2020 @ 13:17:34 Author: felixonmars Revision: 794891 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 794890, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 794890, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-28 13:17:34 UTC (rev 794891) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=15 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Saturday, December 26, 2020 @ 05:33:02 Author: felixonmars Revision: 792010 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 792009, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 792009, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-26 05:33:02 UTC (rev 792010) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=14 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Friday, December 25, 2020 @ 04:31:13 Author: felixonmars Revision: 789616 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 789615, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 789615, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-25 04:31:13 UTC (rev 789616) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=13 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Thursday, December 24, 2020 @ 14:34:47 Author: felixonmars Revision: 788167 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 788166, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 788166, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-24 14:34:47 UTC (rev 788167) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=12 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Thursday, December 24, 2020 @ 08:14:15 Author: felixonmars Revision: 786786 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 786785, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 786785, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-24 08:14:15 UTC (rev 786786) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=11 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Wednesday, December 23, 2020 @ 07:52:35 Author: felixonmars Revision: 783891 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 783890, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 783890, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 07:52:35 UTC (rev 783891) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=10 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Monday, December 21, 2020 @ 19:42:34 Author: felixonmars Revision: 781478 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 781477, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 781477, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-21 19:42:34 UTC (rev 781478) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=9 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Thursday, December 17, 2020 @ 23:23:29 Author: felixonmars Revision: 778272 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 778271, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 778271, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-17 23:23:29 UTC (rev 778272) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=8 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Tuesday, December 15, 2020 @ 20:06:35 Author: felixonmars Revision: 776144 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 776143, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 776143, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-15 20:06:35 UTC (rev 776144) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=7 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Sunday, December 13, 2020 @ 23:54:21 Author: felixonmars Revision: 774666 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 774665, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 774665, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-13 23:54:21 UTC (rev 774666) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=6 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Monday, December 7, 2020 @ 22:30:16 Author: felixonmars Revision: 771679 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 771678, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 771678, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-07 22:30:16 UTC (rev 771679) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=5 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Saturday, December 5, 2020 @ 00:15:56 Author: felixonmars Revision: 770292 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 770291, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 770291, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-05 00:15:56 UTC (rev 770292) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=4 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Saturday, November 28, 2020 @ 10:11:44 Author: felixonmars Revision: 765073 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 765072, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 765072, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-28 10:11:44 UTC (rev 765073) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=3 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Monday, November 23, 2020 @ 16:54:50 Author: felixonmars Revision: 759992 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fourmolu/repos/community-staging-x86_64/ haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 759991, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-staging-x86_64/PKGBUILD (from rev 759991, haskell-fourmolu/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-23 16:54:50 UTC (rev 759992) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=2 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}
[arch-commits] Commit in haskell-fourmolu/repos (2 files)
Date: Saturday, November 21, 2020 @ 14:45:24 Author: felixonmars Revision: 758489 archrelease: copy trunk to community-x86_64 Added: haskell-fourmolu/repos/community-x86_64/ haskell-fourmolu/repos/community-x86_64/PKGBUILD (from rev 758488, haskell-fourmolu/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-fourmolu/repos/community-x86_64/PKGBUILD (from rev 758488, haskell-fourmolu/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-11-21 14:45:24 UTC (rev 758489) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=fourmolu +pkgname=haskell-fourmolu +pkgver=0.3.0.0 +pkgrel=1 +pkgdesc="A formatter for Haskell source code" +url="https://github.com/parsonsmatt/fourmolu; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist' + 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb') +makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d') + +prepare() { + cd $_hkgname-$pkgver + uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal + sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md +}