Fero Kiraly wrote:
ok. I get working pd-vanilla, pdx, pd-l2ork on one archlinux system.
For git, you can use the following construct in the PKGBUILD so you don't have to delete and clone again on successive builds:
#download pd-l2ork
msg "Looking for pd2lork on git ..."
cd $srcdir
if [ -d pd-l2ork ] ; then
cd pd-l2ork
git pull
cd ..
msg "The local files are updated."
else
git clone git://github.com/pd-l2ork/pd.git $pkgname
fi
msg "done"
#download Gem
cd $pkgname
msg "Looking for gem on git...."
if [ -d Gem ] ; then
cd Gem
git pull
cd ..
msg "The local files are updated."
else
git clone git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem Gem
fi
msg "done"