Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created September 30, 2010 03:08
Show Gist options
  • Save mythmon/603955 to your computer and use it in GitHub Desktop.
Save mythmon/603955 to your computer and use it in GitHub Desktop.
--- PKGBUILD 2010-09-23 05:09:14.000000000 -0700
+++ PKGBUILD.new 2010-09-29 19:57:52.112939012 -0700
@@ -18,12 +18,13 @@
cd ${srcdir}
if [ -d ${srcdir}/$_gitname ] ; then
- cd $_gitname && git pull origin
+ cd $_gitname
+ git pull origin
else
- git clone $_gitroot
+ git clone $_gitroot $_gitname
+ cd $_gitname
fi
- cd $_gitname
python ./setup.py install --root="${pkgdir}" --prefix="/usr" || return 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment