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

thestinger at nymeria.archlinux.org thestinger at nymeria.archlinux.org
Sat Feb 2 03:58:46 UTC 2013


    Date: Saturday, February 2, 2013 @ 04:58:46
  Author: thestinger
Revision: 83485

rm $pkgdir reference from build()

Modified:
  googlecl/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-02 03:46:07 UTC (rev 83484)
+++ PKGBUILD	2013-02-02 03:58:46 UTC (rev 83485)
@@ -15,10 +15,11 @@
 
 build() {
   cd "$srcdir/googlecl-$pkgver"
-
   sed -i '1c#!/usr/bin/python2' src/google
+}
 
+package() {
+  cd "$srcdir/googlecl-$pkgver"
   python2 setup.py install --prefix=/usr --root="$pkgdir"
-
   install -Dm644 man/google.1 "${pkgdir}/usr/share/man/man1/google.1"
 }




More information about the arch-commits mailing list