You are not logged in.
here is my PKGBUILD: https://aur.archlinux.org/packages/pyth … y/PKGBUILD
and you see the source line is very ugly.
you can replace it with :
http://www.renpy.org/dl/${pkgver}/renpy … ce.tar.bz2
when you makepkg, you wil see this information :
Downloading renpy-${pkgver}-source.tar.bz2...
--2010-12-26 12:37:27-- http://www.renpy.org/dl/6.11.2/renpy-6. … ce.tar.bz2
Resolving www.renpy.org... 72.26.228.83
Connecting to www.renpy.org|72.26.228.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8737479 (8.3M) [application/x-bzip2]
Saving to: `renpy-6.11.2-source.tar.bz2.part'100%[======================================>] 8,737,479 119K/s in 1m 59s
2010-12-26 12:39:28 (71.6 KB/s) - `renpy-6.11.2-source.tar.bz2.part' saved [8737479/8737479]
mv: cannot stat `/tmp/yaourt-tmp-zhangn1985/aur-python-renpy/renpy-${pkgver}-source.tar.bz2.part': No such file or directory
==> ERROR: Failure while downloading renpy-${pkgver}-source.tar.bz2
Aborting...
==> ERROR: Makepkg was unable to build python-renpy.
is my mistake or a bug that makepkg forget to replace pkgver to it value?
Last edited by kilior (2010-12-26 04:45:00)
Offline
You're using single quotes, which would force bash to not expand the variables.
Use double quotes or no quotes, that should fix the problem.
Offline
thank you.
it is fixed.
Offline
Use double quotes or no quotes.
Get into the habit of always using double quotation marks. It will prevent unexpected word splitting when Bash expands variables that contain spaces.
~> foo="bar baz"
~> mkdir ${foo}
~> ls -1
bar
baz
~> cd ${foo}
~/bar>
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline