[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2020-08-05 Thread Felix Yan via arch-commits
Date: Wednesday, August 5, 2020 @ 09:06:19
  Author: felixonmars
Revision: 669153

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 669152, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |   90 ++---
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-05 09:06:06 UTC (rev 669152)
+++ PKGBUILD2020-08-05 09:06:19 UTC (rev 669153)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=1.1.2
-pkgrel=5
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua53')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('886a9d555a034b8fe74d5184457dad9e1bc9bd75662760a0415a75222bd64c556043ce6f98bc11dc1d27c34212f87ad3ce2271d5ff8125c1b5a89263cdf987eb')
-
-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 \
--fsystem-lua -fpkg-config
-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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 669152, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-05 09:06:19 UTC (rev 669153)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.1.2
+pkgrel=6
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua53')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('886a9d555a034b8fe74d5184457dad9e1bc9bd75662760a0415a75222bd64c556043ce6f98bc11dc1d27c34212f87ad3ce2271d5ff8125c1b5a89263cdf987eb')
+
+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 \
+-fsystem-lua -fpkg-config
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2020-08-03 Thread Felix Yan via arch-commits
Date: Monday, August 3, 2020 @ 09:18:21
  Author: felixonmars
Revision: 668093

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 668092, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |   90 ++---
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-03 09:18:09 UTC (rev 668092)
+++ PKGBUILD2020-08-03 09:18:21 UTC (rev 668093)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=1.1.2
-pkgrel=4
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua53')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('886a9d555a034b8fe74d5184457dad9e1bc9bd75662760a0415a75222bd64c556043ce6f98bc11dc1d27c34212f87ad3ce2271d5ff8125c1b5a89263cdf987eb')
-
-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 \
--fsystem-lua -fpkg-config
-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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 668092, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-03 09:18:21 UTC (rev 668093)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.1.2
+pkgrel=5
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua53')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('886a9d555a034b8fe74d5184457dad9e1bc9bd75662760a0415a75222bd64c556043ce6f98bc11dc1d27c34212f87ad3ce2271d5ff8125c1b5a89263cdf987eb')
+
+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 \
+-fsystem-lua -fpkg-config
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2020-02-05 Thread Felix Yan via arch-commits
Date: Wednesday, February 5, 2020 @ 15:00:33
  Author: felixonmars
Revision: 563286

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 563285, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  102 ++---
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-05 15:00:17 UTC (rev 563285)
+++ PKGBUILD2020-02-05 15:00:33 UTC (rev 563286)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=1.0.3.2
-pkgrel=15
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('2e047e32a55d0c9512388445ba318d7ceec85f467c89ad825cceb2c60b5b1dce10fa5f014009cb105f71d109fd66eca0c94b88d3a5e26a85ae0dc3e327606e38')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_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 --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--fsystem-lua -fpkg-config
-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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 563285, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-05 15:00:33 UTC (rev 563286)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.0.3.2
+pkgrel=16
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2e047e32a55d0c9512388445ba318d7ceec85f467c89ad825cceb2c60b5b1dce10fa5f014009cb105f71d109fd66eca0c94b88d3a5e26a85ae0dc3e327606e38')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fsystem-lua -fpkg-config
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 00:24:17
  Author: felixonmars
Revision: 473386

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 473385, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  102 ++---
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-29 00:24:06 UTC (rev 473385)
+++ PKGBUILD2019-05-29 00:24:17 UTC (rev 473386)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=1.0.3.1
-pkgrel=4
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('047bcf851727e7525f10f6c705ec8968f330373aedf22bc91c96a44e5abdced46622a66a87c7973eac178c69dd3371bbcf4b858ed3c442719279e4cac4e57657')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_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 --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--fsystem-lua -fpkg-config
-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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 473385, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-05-29 00:24:17 UTC (rev 473386)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.0.3.1
+pkgrel=5
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('047bcf851727e7525f10f6c705ec8968f330373aedf22bc91c96a44e5abdced46622a66a87c7973eac178c69dd3371bbcf4b858ed3c442719279e4cac4e57657')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fsystem-lua -fpkg-config
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2019-05-27 Thread Felix Yan via arch-commits
Date: Monday, May 27, 2019 @ 17:04:16
  Author: felixonmars
Revision: 471677

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 471676, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  102 ++---
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-27 17:04:04 UTC (rev 471676)
+++ PKGBUILD2019-05-27 17:04:16 UTC (rev 471677)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=1.0.3.1
-pkgrel=2
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('047bcf851727e7525f10f6c705ec8968f330373aedf22bc91c96a44e5abdced46622a66a87c7973eac178c69dd3371bbcf4b858ed3c442719279e4cac4e57657')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_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 --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--fsystem-lua -fpkg-config
-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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 471676, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-05-27 17:04:16 UTC (rev 471677)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=1.0.3.1
+pkgrel=3
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('047bcf851727e7525f10f6c705ec8968f330373aedf22bc91c96a44e5abdced46622a66a87c7973eac178c69dd3371bbcf4b858ed3c442719279e4cac4e57657')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fsystem-lua -fpkg-config
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2018-05-21 Thread Felix Yan via arch-commits
Date: Monday, May 21, 2018 @ 17:34:37
  Author: felixonmars
Revision: 326428

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 326427, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-21 17:34:14 UTC (rev 326427)
+++ PKGBUILD2018-05-21 17:34:37 UTC (rev 326428)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=0.9.5.2
-pkgrel=4
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_hkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${_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 \
--f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
-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 "${srcdir}/${_hkgname}-${pkgver}"
-runhaskell Setup test
-}
-
-package() {
-cd "${srcdir}/${_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 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 326427, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-21 17:34:37 UTC (rev 326428)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=0.9.5.2
+pkgrel=5
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 \
+-f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
+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 "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup test
+}
+
+package() {
+cd 

[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2018-05-20 Thread Felix Yan via arch-commits
Date: Monday, May 21, 2018 @ 05:15:31
  Author: felixonmars
Revision: 325725

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 325724, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-21 05:15:07 UTC (rev 325724)
+++ PKGBUILD2018-05-21 05:15:31 UTC (rev 325725)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=0.9.5.2
-pkgrel=3
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_hkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${_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 \
--f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
-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 "${srcdir}/${_hkgname}-${pkgver}"
-runhaskell Setup test
-}
-
-package() {
-cd "${srcdir}/${_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 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 325724, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-21 05:15:31 UTC (rev 325725)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=0.9.5.2
+pkgrel=4
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 \
+-f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
+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 "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup test
+}
+
+package() {
+cd 

[arch-commits] Commit in haskell-hslua/repos/community-staging-x86_64 (2 files)

2018-05-19 Thread Felix Yan via arch-commits
Date: Saturday, May 19, 2018 @ 08:32:26
  Author: felixonmars
Revision: 324468

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD
(from rev 324467, haskell-hslua/trunk/PKGBUILD)
Deleted:
  haskell-hslua/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-19 08:32:04 UTC (rev 324467)
+++ PKGBUILD2018-05-19 08:32:26 UTC (rev 324468)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=hslua
-pkgname=haskell-hslua
-pkgver=0.9.5.2
-pkgrel=2
-pkgdesc="A Lua language interpreter embedding in Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'lua' 'haskell-exceptions')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
- 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
-
-prepare() {
-sed -e '/, fail/d' \
--e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
--i $_hkgname-$pkgver/$_hkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${_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 \
--f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
-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 "${srcdir}/${_hkgname}-${pkgver}"
-runhaskell Setup test
-}
-
-package() {
-cd "${srcdir}/${_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 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
-}

Copied: haskell-hslua/repos/community-staging-x86_64/PKGBUILD (from rev 324467, 
haskell-hslua/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-19 08:32:26 UTC (rev 324468)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua
+pkgname=haskell-hslua
+pkgver=0.9.5.2
+pkgrel=3
+pkgdesc="A Lua language interpreter embedding in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'lua' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d529a6552117127d4f3a32c21618a5436079461bc3651f2e61035a7af32390613929bf648a33b1f6c6b8a2b76cd99c48a902b2818d0dbf496c9f7a6d8296dd1c')
+
+prepare() {
+sed -e '/, fail/d' \
+-e 's/pkgconfig-depends: lua5.3/pkgconfig-depends: lua53/' \
+-i $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 \
+-f-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc 
-fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig
+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 "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup test
+}
+
+package() {
+