On Monday, January 03, 2011 11:38:52 am Guillaume ALAUX wrote:
On 3 January 2011 16:52, Baho Utot <baho-utot@columbus.rr.com> wrote:
On Monday, January 03, 2011 11:17:46 am Ray Rashif wrote:
On 3 January 2011 23:29, Baho Utot <baho-utot@columbus.rr.com> wrote:
joomla-1.5.22-1-any-<sitename>.pkg.tar.xz
Is this possible?
No.
joomla-$sitename-1.55.22-1-any.pkg.tar.xz is possible:
_sitename=foo pkgname=joomla-$_sitename ...
Yes I figured that as a possiblilty as I have seen simular in some other PKGBUILDs.
joomla-1.5.22-1-any-<sitename>.pkg.tar.xz is cleaner but I can live with joomla-$sitename-1.55.22-1-any.pkg.tar.xz
just isn't pretty.
Thanks
You could use a split PKGBUILD[0]:
basename=joomla
build() package_joom-site1() {} package_joom-site2() {} package_joom-site3() {} ...
[0] http://www.archlinux.org/pacman/PKGBUILD.5.html#_package_splitting
-- Guillaume
OK thanks I'll try that I'll need to find am example so I can grok that build style.