You are not logged in.
Pages: 1
Hey, I trying to update the latest version of ardour on my system but the release is ardour-2.6-4004.tar.bz2.
I edit the the PKGBUILD from extra and followed the wiki to change the
pkgver to look like:
pkgver=2.6_4004 instead of
pkgver=2.6-4004 because hyphens are not allowed.
When I run makepkg -i, it tries to down a package ardour-2.6_4004.tar.bz2, not the real package ardour-2.6-4004.tar.bz2.
Can someone help with how to edit the PKGBUILD?
Thanx
Last edited by funkmuscle (2008-10-24 16:07:29)
Offline
There are different ways to do it, but you can just replace all the $pkgver references with 2.6-4004 directly. Change the 2 lines that originally called $pkgver to this:
source=(http://ardour.org/files/releases/${pkgname}-2.6-4004.tar.bz2 \
...
cd ${startdir}/src/${pkgname}-2.6-4004
...
Last edited by creslin (2008-10-24 16:04:07)
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
bingo!!! thanx, it worked.
Offline
You can also take advantage of bash's string manipulation features and write:
${pkgver//_/-}
wherever you want underscores to be replaced by hyphens.
Offline
Pages: 1