You are not logged in.
Hi guys,
Im trying to make my own wine 1.0-rc1
Ive tried just changing the pkgver but i get
ERROR: pkgver is not allowed to contain hyphens.
so what is the preferred method of doing it?
Thanks
Offline
ERROR: pkgver is not allowed to contain hyphens.
so what is the preferred method of doing it?
use
pkgver=1.0rc1
Offline
sorry i meant that the source file is called wine-1.0-rc1.tar.bz2
Offline
sorry i meant that the source file is called wine-1.0-rc1.tar.bz2
I'm not really sure what the question is if it was not my previous assumption.
Basically, if the source is called wine-1.0-rc1.tar.bz2, you use the pkgver in the way I said above. In case that in some other place in the PKGBUILD 1.0-rc1 should appear (for exampe cd $startdir/wine-1.0-rc1 (don't know if that is the case btw)) you just write it like that and don't define extra variables (so most likely you will need to substitute 1.0-rc1 for all $pkgver appearances except the first one).
Last edited by pressh (2008-05-19 22:11:09)
Offline
I'm sure that it's "incorrect," but I add another variable called _subpkg and add $_subpkg after all of the $pkgname variables...
$pkgname-$pkgver becomes $pkgname-$_subpkg-$pkgver
dvdtube - download all uploads from a YouTube user and then optionally create a DVD.
(Regular version AUR link / SVN version AUR link)
Offline
Thanks, that worked
I thought about doing it that way, but then thought what is the point in the $pkgver if you have to manually change every occurance.
Offline
i think the convention is to create a new variable called _pkgver with the real required pkgver, and set pkgver to one without the hyphen
Offline
i think the convention is to create a new variable called _pkgver with the real required pkgver, and set pkgver to one without the hyphen
no it is not. Please be sure you've read the Arch packaging standards before commenting on such things.
Do not introduce new variables into your PKGBUILD build scripts, unless the package cannot be built without doing so, as these could possibly conflict with variables used in makepkg itself. If a new variable is absolutely required, prefix the variable name with an underscore (_)
Offline