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

Eric Bélanger eric at nymeria.archlinux.org
Sun Feb 10 17:49:30 UTC 2013


    Date: Sunday, February 10, 2013 @ 18:49:30
  Author: eric
Revision: 177906

Replace build function with package function

Modified:
  archboot/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-10 17:22:57 UTC (rev 177905)
+++ PKGBUILD	2013-02-10 17:49:30 UTC (rev 177906)
@@ -69,9 +69,9 @@
 ### to bump the depends list use this:
 #for i in $(grep ^depends= PKGBUILD | sed  -e 's/depends=(//g' -e 's/)//g'); do sed -i -e "s/$(echo $i)/$(echo $i | sed -e "s/>=.*/>=$(pacman -Qi $(echo $i | sed -e "s/'//g" -e 's/>=.*//g') | grep ^Version | sed -e 's/.*: //g')'/g")/g" PKGBUILD; done
 
-build()
+package()
 {
-  cd $srcdir/$pkgname-$pkgver-1
-  mv * $pkgdir/
+  cd "$srcdir"/$pkgname-$pkgver-1
+  mv * "$pkgdir/"
 }
 md5sums=('4d2d1579e6dad2a6b247e3c30b8cad59')




More information about the arch-commits mailing list