[aur-general] Reffering to a Package Version in PKGBUILD
foutrelis at gmail.com
Fri Oct 31 16:42:41 EDT 2008
Christian Scharkus wrote:
> I've got a problem with xine-lib crying for ffmpeg>=20080715. I have
> ffmpeg-svn installed and this fullfilled the requirement. But even if
> I write something like presents=('ffmpeg' 'ffmpeg>=20081031') into my
> PKGBUILD the error occure again and again. A dynamic Date as mentioned
> in the comments of ffmpeg-svn (something like date +%Y%m%d would be
> Thank you
The correct field is "provides", not "presents". However, the real issue
is in ffmpeg-svn's PKGBUILD:
provides=("ffmpeg=`date +%Y%m%d`") [or even better:
because command substitution does not occur between single quotes.
I left a comment on ffmpeg-svn's page regarding this.
More information about the aur-general