Re: makepkg/PKGBUILD - handle same files provided by 2 non-dependent packages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Sun, 25 Mar 2012 20:30:52 +0300
schrieb Jesse Juhani Jaara <jesse.jaara@xxxxxxxxx>:

> su, 2012-03-25 kello 12:24 -0500, David C. Rankin kirjoitti:
> >   Is there a go-by PKGBUILD that anyone can think of that does just
> > that?
> 
> In tdesdk's PKGBUILD do somthing like this
>  build () {
> pach -Np -i patches
> sed 's|clause|fix|' file.c
> .configure --prefix
> }
> 
> package_tdesdk ()
> {
> make install
> rm "$pkgdir/opt/trinity/share/services/"svn*
> }
> 
> package_tdeservices () {
> cp "$srcdir/tdeskd/src/service/generated/"svn*.protocol \
> "$pkgdir/opt/trinity/share/services/"
> }
> 
> 
> Thats kind of thng should do it :D
> Also the assumption here is that the tdesdk and tdesvn pkgs provide
> exactly same version of those .protocol files :D

AUR still doesn't support split packages, and split packages can't be
handled by the AUR wrappers. So this is really the worst ideas for AUR,
and should only be used for binary repos for now.

The better way is to create three single packages which depend on each
other.

Heiko


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux