[arch-general] makepkg/PKGBUILD - handle same files provided by 2 non-dependent packages?
Jesse Juhani Jaara
jesse.jaara at gmail.com
Sun Mar 25 13:30:52 EDT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120325/4dbff9df/attachment.asc>
More information about the arch-general
mailing list