Date: Sunday, May 20, 2018 @ 06:42:56
  Author: felixonmars
Revision: 325126

upgpkg: haskell-servant 0.13.0.1-1

rebuild with servant,0.13.0.1 servant-server,0.13.0.1 servant-swagger,1.1.5 
http-types,0.12.1

Modified:
  haskell-servant/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-20 06:42:25 UTC (rev 325125)
+++ PKGBUILD    2018-05-20 06:42:56 UTC (rev 325126)
@@ -4,8 +4,8 @@
 
 _hkgname=servant
 pkgname=haskell-servant
-pkgver=0.12.1
-pkgrel=44
+pkgver=0.13.0.1
+pkgrel=1
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/";
 license=("custom:BSD3")
@@ -13,21 +13,19 @@
 depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
          'haskell-case-insensitive' 'haskell-http-api-data' 
'haskell-http-media'
          'haskell-http-types' 'haskell-natural-transformation' 'haskell-mmorph'
-         'haskell-tagged' 'haskell-string-conversions' 'haskell-network-uri'
-         'haskell-vault')
+         'haskell-tagged' 'haskell-singleton-bool' 'haskell-string-conversions'
+         'haskell-network-uri' 'haskell-vault')
 makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-aeson-compat' 
'haskell-hspec'
-             'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-url' 
'haskell-doctest'
-             'haskell-filemanip')
+             'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-doctest')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('f7c4a7faa666e579f681db6fc9bd78ed93b09015561c8d390fb877b08502e85d1aeb182051e1ee3ea4513ed2328fea1fe752c37fdb619d602c98d791db235a55')
+sha512sums=('3be9a97f2cc3d60cf3fc0f09aa3ee227f777dcb7e85e8579b1c169319f03dbb742fafa7dd1d4a1d20cdd04534cd327af3cbb04daf684ebdfc4e6e3a8c7b819d6')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -e 's/<.*4.11/<5/' -e 's/<.*1.3/<2/' -e 's/<.*0.10/<1/' -i 
$_hkgname.cabal
 }
 
 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}" --enable-tests \
@@ -45,7 +43,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"

Reply via email to