[arch-commits] Commit in haskell-network/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Tue Dec 28 08:26:35 UTC 2010


    Date: Tuesday, December 28, 2010 @ 03:26:35
  Author: remy
Revision: 104073

upgpkg: haskell-network 2.3-1
Update for HP2011 alpha, install under /usr/lib/ghc-7.0.1

Modified:
  haskell-network/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-27 22:19:53 UTC (rev 104072)
+++ PKGBUILD	2010-12-28 08:26:35 UTC (rev 104073)
@@ -3,20 +3,23 @@
 # Package generated by cabal2arch 0.7.6
 _hkgname=network
 pkgname=haskell-network
-pkgver=2.2.1.7
-pkgrel=43
+pkgver=2.3
+pkgrel=1
 pkgdesc="Networking-related facilities"
 url="http://hackage.haskell.org/package/network"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=(ghc=7.0.1 sh 'haskell-parsec=2.1.0.1')
-options=('strip' 'force')
-source=(http://hackage.haskell.org/packages/archive/network/${pkgver}/network-${pkgver}.tar.gz)
+depends=(ghc=7.0.1 sh 'haskell-parsec=3.1.0')
+options=('strip')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install
+md5sums=('b43d48203617247f4b711375428df23e')
 
 build() {
     cd ${srcdir}/${_hkgname}-${pkgver}
-    runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+    runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+      --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+      --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup haddock
     runhaskell Setup register   --gen-script
@@ -34,4 +37,3 @@
     install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
     rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
 }
-md5sums=('566cfeef09ff4d2e52110ec4a9a9879b')




More information about the arch-commits mailing list