[arch-commits] Commit in haskell-easytest/repos (2 files)
Date: Saturday, January 4, 2020 @ 08:44:46 Author: felixonmars Revision: 547800 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 547799, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 547799, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-04 08:44:46 UTC (rev 547800) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=14 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Wednesday, January 1, 2020 @ 08:41:57 Author: felixonmars Revision: 545758 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 545757, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 545757, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-01 08:41:57 UTC (rev 545758) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=13 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Sunday, December 29, 2019 @ 22:07:38 Author: felixonmars Revision: 544009 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 544008, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 544008, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-29 22:07:38 UTC (rev 544009) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=11 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Tuesday, December 24, 2019 @ 21:27:22 Author: felixonmars Revision: 540520 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 540519, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 540519, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-24 21:27:22 UTC (rev 540520) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=10 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Monday, December 23, 2019 @ 09:30:21 Author: felixonmars Revision: 538983 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 538982, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 538982, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-23 09:30:21 UTC (rev 538983) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=9 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Monday, September 2, 2019 @ 03:08:09 Author: felixonmars Revision: 506391 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 506390, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 506390, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-09-02 03:08:09 UTC (rev 506391) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=8 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Monday, August 26, 2019 @ 07:20:27 Author: felixonmars Revision: 501838 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 501837, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 501837, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-08-26 07:20:27 UTC (rev 501838) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=7 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Friday, June 7, 2019 @ 17:11:02 Author: felixonmars Revision: 478198 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 478197, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 478197, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-07 17:11:02 UTC (rev 478198) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=6 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Thursday, April 25, 2019 @ 13:05:13 Author: felixonmars Revision: 453852 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 453851, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 453851, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-25 13:05:13 UTC (rev 453852) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=5 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Sunday, March 17, 2019 @ 10:06:43 Author: felixonmars Revision: 442331 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 442330, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 442330, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-17 10:06:43 UTC (rev 442331) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.3 +pkgrel=1 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-call-stack' 'haskell-hedgehog' + 'haskell-split' 'haskell-profunctors' 'haskell-tagged') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('588afe79e61268c93f93b8ce6a57b010e0354aeb1155adb6a3c230aaa6652fb800751ff0fc80ff652aeb0cd635d4cd2a9d5fc02ffcdeec6b116cea8cfc8cd42b') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +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-easytest/repos (2 files)
Date: Saturday, March 9, 2019 @ 17:42:00 Author: felixonmars Revision: 438585 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 438584, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 438584, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-09 17:42:00 UTC (rev 438585) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=4 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Sunday, December 9, 2018 @ 22:36:29 Author: felixonmars Revision: 413375 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 413374, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 413374, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-09 22:36:29 UTC (rev 413375) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=3 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Tuesday, November 6, 2018 @ 20:08:15 Author: felixonmars Revision: 402063 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 402062, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 402062, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-06 20:08:15 UTC (rev 402063) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=2 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Saturday, November 3, 2018 @ 05:53:18 Author: felixonmars Revision: 401313 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 401312, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 401312, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-03 05:53:18 UTC (rev 401313) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2.1 +pkgrel=1 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928') + +prepare() { +cd $_hkgname-$pkgver +echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Sunday, October 14, 2018 @ 20:44:32 Author: felixonmars Revision: 393805 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 393804, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 393804, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-14 20:44:32 UTC (rev 393805) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2 +pkgrel=5 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('6509950950eda804b3a8eac8130857c19877944e4e8b653bc20189c65c9070cebfb55bd3b68ac0a22aa25fd6e040f36c10d37c70778a0f1e1b2b4c68188eda97') + +prepare() { +cd $_hkgname-$pkgver +sed -i 's/< *0.6/<1/' $_hkgname.cabal +sed -i '1i{-# language NoMonadFailDesugaring #-}' src/EasyTest/Generators.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Friday, June 1, 2018 @ 09:02:42 Author: felixonmars Revision: 335739 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 335738, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 335738, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-01 09:02:42 UTC (rev 335739) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan + +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2 +pkgrel=4 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('6509950950eda804b3a8eac8130857c19877944e4e8b653bc20189c65c9070cebfb55bd3b68ac0a22aa25fd6e040f36c10d37c70778a0f1e1b2b4c68188eda97') + +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 \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Thursday, May 17, 2018 @ 10:52:49 Author: felixonmars Revision: 323665 archrelease: copy trunk to community-staging-x86_64 Added: haskell-easytest/repos/community-staging-x86_64/ haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 323664, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 323664, haskell-easytest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-17 10:52:49 UTC (rev 323665) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan+ +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2 +pkgrel=2 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' + 'haskell-random') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('6509950950eda804b3a8eac8130857c19877944e4e8b653bc20189c65c9070cebfb55bd3b68ac0a22aa25fd6e040f36c10d37c70778a0f1e1b2b4c68188eda97') + +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 \ +-foptimized -f-quiet +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-easytest/repos (2 files)
Date: Wednesday, April 4, 2018 @ 15:01:36 Author: felixonmars Revision: 314148 archrelease: copy trunk to community-x86_64 Added: haskell-easytest/repos/community-x86_64/ haskell-easytest/repos/community-x86_64/PKGBUILD (from rev 314147, haskell-easytest/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-easytest/repos/community-x86_64/PKGBUILD (from rev 314147, haskell-easytest/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-04-04 15:01:36 UTC (rev 314148) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan+ +_hkgname=easytest +pkgname=haskell-easytest +pkgver=0.2 +pkgrel=1 +pkgdesc="Simple, expressive testing library" +url="https://github.com/joelburget/easytest; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-call-stack' 'haskell-mtl' 'haskell-stm' + 'haskell-random' 'haskell-text') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('6509950950eda804b3a8eac8130857c19877944e4e8b653bc20189c65c9070cebfb55bd3b68ac0a22aa25fd6e040f36c10d37c70778a0f1e1b2b4c68188eda97') + +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 \ +-foptimized -f-quiet +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" +}