Re: Why are install functions not in PKGBUILD?

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



Am Thu, 16 Jun 2011 23:21:15 +0200
schrieb Jan Steffens <jan.steffens@xxxxxxxxx>:

> Because the install stuff isn't a multi-line field (of which there are
> none), it's a bash script defining functions.

The install scripts are meant for stuff which needs to be done after
the package installation directly on the system like updating an icon
cache, font cache etc., while the PKGBUILD is a bash script which is
used for having packages built from the sources by makepkg and
installing them in a fake root like compiling, building the binary
package etc. So pacman doesn't see the PKGBUILD, but it sees the install
file in the binary package and can only execute the install script
functions but not the PKGBUILD functions.

And pacman doesn't need to and shouldn't see the build and package
functions.

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