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

Eric Bélanger eric at archlinux.org
Fri Jun 17 20:54:42 UTC 2011


    Date: Friday, June 17, 2011 @ 16:54:42
  Author: eric
Revision: 127724

Updated makedepends version (close FS#23336), Put srcdir and pkgdir in quotes

Modified:
  happy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-17 20:50:24 UTC (rev 127723)
+++ PKGBUILD	2011-06-17 20:54:42 UTC (rev 127724)
@@ -10,21 +10,21 @@
 arch=('i686' 'x86_64')
 license=("custom:BSD3")
 depends=(gmp)
-makedepends=(ghc=7.0.1 haskell-mtl=2.0.1.0)
+makedepends=(ghc=7.0.2 haskell-mtl=2.0.1.0)
 options=(strip)
 source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
 md5sums=('7d4d1425f5068633cd477a2b2216880d')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
   runhaskell Setup.lhs configure -O --prefix=/usr
   runhaskell Setup.lhs build
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  runhaskell Setup.lhs copy --destdir=${pkgdir}
-  install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 




More information about the arch-commits mailing list