[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Monday, September 5, 2022 @ 23:31:10 Author: felixonmars Revision: 1293847 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1293846, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1293846, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-05 23:31:10 UTC (rev 1293847) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=8 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Monday, August 29, 2022 @ 21:44:07 Author: felixonmars Revision: 1286317 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1286316, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1286316, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-29 21:44:07 UTC (rev 1286317) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=7 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, August 26, 2022 @ 13:19:59 Author: felixonmars Revision: 1282275 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1282274, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1282274, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 13:19:59 UTC (rev 1282275) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=6 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Wednesday, August 24, 2022 @ 21:38:34 Author: felixonmars Revision: 1277343 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1277342, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1277342, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-24 21:38:34 UTC (rev 1277343) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=5 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Monday, August 8, 2022 @ 15:51:01 Author: felixonmars Revision: 1261181 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1261180, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1261180, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-08 15:51:01 UTC (rev 1261181) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=3 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Monday, July 25, 2022 @ 06:06:25 Author: felixonmars Revision: 1256653 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1256652, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1256652, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-25 06:06:25 UTC (rev 1256653) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=2 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, July 15, 2022 @ 21:49:17 Author: felixonmars Revision: 1253004 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1253003, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1253003, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-15 21:49:17 UTC (rev 1253004) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.3 +pkgrel=1 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Tuesday, July 12, 2022 @ 15:18:26 Author: felixonmars Revision: 1250410 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1250409, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1250409, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-12 15:18:26 UTC (rev 1250410) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=18 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + uusi -u lua $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Sunday, July 10, 2022 @ 23:55:37 Author: felixonmars Revision: 1249400 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1249399, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1249399, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-10 23:55:37 UTC (rev 1249400) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=17 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + uusi -u lua $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Thursday, July 7, 2022 @ 21:38:07 Author: felixonmars Revision: 1248344 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1248343, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1248343, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-07 21:38:07 UTC (rev 1248344) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=16 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + uusi -u lua $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Tuesday, July 5, 2022 @ 14:17:21 Author: felixonmars Revision: 1244688 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1244687, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1244687, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-05 14:17:21 UTC (rev 1244688) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=15 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Wednesday, June 29, 2022 @ 15:39:10 Author: felixonmars Revision: 1240890 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1240889, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1240889, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-29 15:39:10 UTC (rev 1240890) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=14 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Saturday, June 11, 2022 @ 21:35:23 Author: felixonmars Revision: 1235025 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1235024, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1235024, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 21:35:23 UTC (rev 1235025) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=13 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, June 10, 2022 @ 17:27:54 Author: felixonmars Revision: 1230937 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1230936, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1230936, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-10 17:27:54 UTC (rev 1230937) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=12 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Sunday, June 5, 2022 @ 17:52:36 Author: felixonmars Revision: 1223605 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1223604, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1223604, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-05 17:52:36 UTC (rev 1223605) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=11 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, June 3, 2022 @ 08:45:20 Author: felixonmars Revision: 1219570 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1219569, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1219569, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-03 08:45:20 UTC (rev 1219570) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=10 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Monday, May 30, 2022 @ 09:40:47 Author: felixonmars Revision: 1215432 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1215431, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1215431, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-30 09:40:47 UTC (rev 1215432) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=9 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Saturday, May 28, 2022 @ 14:45:32 Author: felixonmars Revision: 1211732 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1211731, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1211731, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-28 14:45:32 UTC (rev 1211732) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=8 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Saturday, May 14, 2022 @ 12:50:22 Author: felixonmars Revision: 1204307 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1204306, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1204306, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 12:50:22 UTC (rev 1204307) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=7 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, May 13, 2022 @ 08:17:46 Author: felixonmars Revision: 1200953 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1200952, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1200952, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-13 08:17:46 UTC (rev 1200953) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=6 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Wednesday, May 4, 2022 @ 10:49:33 Author: felixonmars Revision: 1193301 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1193300, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1193300, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-04 10:49:33 UTC (rev 1193301) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=5 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Saturday, April 23, 2022 @ 20:37:04 Author: felixonmars Revision: 1188395 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1188394, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1188394, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-23 20:37:04 UTC (rev 1188395) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=4 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, April 1, 2022 @ 04:02:52 Author: felixonmars Revision: 1178650 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1178649, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1178649, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-01 04:02:52 UTC (rev 1178650) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=2 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Thursday, March 24, 2022 @ 19:06:57 Author: felixonmars Revision: 1174935 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1174934, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1174934, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 19:06:57 UTC (rev 1174935) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.2 +pkgrel=1 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('336c291106580163ea0a27eda00be50ae6f6e1a6d590bb8d55dbd25d1f87332c') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Thursday, March 24, 2022 @ 00:27:19 Author: felixonmars Revision: 1172699 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1172698, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1172698, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 00:27:19 UTC (rev 1172699) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.1 +pkgrel=3 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('287940baef55d8fd51349423f17d8f65a139bc94b7d93a600b3d1b5d503b0f7e') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' \ +-frely-on-shared-lpeg-library + + 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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Sunday, March 20, 2022 @ 21:27:21 Author: felixonmars Revision: 1166234 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1166233, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1166233, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-20 21:27:21 UTC (rev 1166234) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.0 +pkgrel=5 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('da497ce03ebdb9596a2e68befe4fa738b3d33523590bb647ba733af37e14a004') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +--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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Saturday, March 19, 2022 @ 14:29:29 Author: felixonmars Revision: 1160976 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1160975, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1160975, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-19 14:29:29 UTC (rev 1160976) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.0 +pkgrel=3 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('da497ce03ebdb9596a2e68befe4fa738b3d33523590bb647ba733af37e14a004') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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=-fllvm \ +--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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Friday, March 18, 2022 @ 02:20:29 Author: felixonmars Revision: 1158002 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lpeg/repos/community-staging-x86_64/ haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1158001, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-lpeg/repos/community-staging-x86_64/PKGBUILD (from rev 1158001, haskell-lpeg/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-18 02:20:29 UTC (rev 1158002) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.0 +pkgrel=2 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('da497ce03ebdb9596a2e68befe4fa738b3d33523590bb647ba733af37e14a004') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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=-fllvm \ +--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 --show-details=direct +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lpeg/repos (2 files)
Date: Thursday, March 17, 2022 @ 18:44:41 Author: felixonmars Revision: 1156819 archrelease: copy trunk to community-x86_64 Added: haskell-lpeg/repos/community-x86_64/ haskell-lpeg/repos/community-x86_64/PKGBUILD (from rev 1156818, haskell-lpeg/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-lpeg/repos/community-x86_64/PKGBUILD (from rev 1156818, haskell-lpeg/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2022-03-17 18:44:41 UTC (rev 1156819) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=lpeg +pkgname=haskell-lpeg +pkgver=1.0.0 +pkgrel=1 +pkgdesc="LPeg – Parsing Expression Grammars For Lua" +url="https://hslua.org/"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-lua') +makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('da497ce03ebdb9596a2e68befe4fa738b3d33523590bb647ba733af37e14a004') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +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 -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}