Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /tmp/qtc/PKGBUILD 2010-03-25 14:06:24.000000000 +0200
- +++ PKGBUILD 2010-03-25 14:04:44.000000000 +0200
- @@ -30,13 +30,19 @@
- # update the repo, else clone a new one
- if [ -d ${_hgrepo} ]; then
- cd ${_hgrepo}/
- - make clean
- hg pull -u || return 1
- else
- hg clone ${_hgroot}/${_hgrepo} || return 1
- cd ${_hgrepo}/
- fi
- msg "Mercurial checkout done or server timeout"
- +
- + msg "Cloning working directory"
- + cd ${srcdir}
- + rm -rf ${srcdir}/${_hgrepo}-build 2>/dev/null
- + cp -a ${_hgrepo} ${_hgrepo}-build
- + cd ${_hgrepo}-build
- +
- msg "Starting make..."
- # Patches
- @@ -48,4 +54,6 @@
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- +
- + rm -rf ${srcdir}/${_hgrepo}-build 2>/dev/null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement