Date: Saturday, March 10, 2018 @ 23:37:44 Author: felixonmars Revision: 306082
upgpkg: haskell-vty 5.20-5 rebuild with microlens-platform,0.3.10 microlens-th,0.4.2 microlens-ghc,0.4.9 microlens-aeson,2.3.0 microlens,0.4.9 Modified: haskell-vty/trunk/PKGBUILD ----------+ PKGBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-10 23:11:41 UTC (rev 306081) +++ PKGBUILD 2018-03-10 23:37:44 UTC (rev 306082) @@ -5,7 +5,7 @@ _hkgname=vty pkgname=haskell-vty pkgver=5.20 -pkgrel=4 +pkgrel=5 pkgdesc="A simple terminal UI library" url="https://github.com/jtdaugherty/vty" license=("custom:BSD3") @@ -17,11 +17,18 @@ 'haskell-quickcheck-assertions' 'haskell-test-framework' 'haskell-test-framework-smallcheck' 'haskell-test-framework-hunit' 'haskell-random' 'haskell-string-qq') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('1f44c563ed4eb86d9e1b5f57225b7be1909bc2d27cba9fa89b25ef84ef1ab926c071cdb893e6dfd6f53cc79c35b62a64a7c1dd08a45de39cc23bc6cb8faf1e08') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" + https://github.com/dmwit/vty/commit/d589780fe193b5777f45b8d3c5d712a7b4a64437.patch) +sha512sums=('1f44c563ed4eb86d9e1b5f57225b7be1909bc2d27cba9fa89b25ef84ef1ab926c071cdb893e6dfd6f53cc79c35b62a64a7c1dd08a45de39cc23bc6cb8faf1e08' + '579032c391154d39e1eb2c0e9d99fbf8f1b8c04a8715a1bc915c8f98ed6285b3f89120d8cb0387c23526c9ada17a88cc614ec2d7dad53bf2d92fc6903b9bfe14') +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../d589780fe193b5777f45b8d3c5d712a7b4a64437.patch +} + build() { - cd "${srcdir}/${_hkgname}-${pkgver}" + cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ @@ -41,7 +48,7 @@ } package() { - cd "${srcdir}/${_hkgname}-${pkgver}" + 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"