You are not logged in.

#1 2009-08-28 02:48:49

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

split packages - client and server packages

Hi all,

I've recently added a PKGBUILD for AMANDA to the AUR:
http://aur.archlinux.org/packages.php?ID=29616

I'm wondering if there's a way I can turn this into a split package for the 'server' and 'client' parts of AMANDA.

The configure script has a --server-only and --client-only option, but that's in the build() function whereas the split functionality is only on the package() function I believe? makepke certainly complained when I tried having build_amanda-server() and build_amanda-client() functions instead of just one build() function.

I'm not quite sure how to make the separate packages using just the split package() functions...?

Offline

#2 2009-08-28 02:54:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: split packages - client and server packages

As you found out...  you can not have multiple build functions.   I always though multiple build functions == multiple PKGBUILDs. 

Can you build both server and client at once?

Offline

Board footer

Powered by FluxBB