PKGBUILD for LPCXpresso - problems with ldconfig in installer

Hi,
I am actually trying to install LPCXpresso 7.3.0 on Archlinux, but of course I don't want to do this the dirty way (just use the installer and install it without pacman). Instead I want to install it with an PKGBUILD, which is quite hard, because it uses some binary installer thing.
First of all here the PKGBUILD I made so far:
pkgname=lpcxpresso
pkgver=7.3.0
pkgrel=1
pkgdesc="LPCXpresso"
arch=('i686' 'x86_64')
license=("custom")
source=("https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.3.0_186_Linux-x86.tar.gz")
md5sums=('0bb976bdbb4ca91d36f4155a8f0ba912')
build() {
cd "$srcdir"
./Installer_LPCXpresso_7.3.0_186_Linux-x86 --mode silent --prefix "$pkgdir/opt/lpcxpresso/"
I know that there aren't any deps yet and that I should use a package() function. But I just wanted to get the install process itself working before I add those things.
The problem is, that in the .tar.gz file there is one binary install file. At the end of the installation process, there are ldconfig calls, which fail (due to no writing permission for /etc/).
I could not patch those ldconfig calls out, or trick the installer somehow to think they executed succesfully. I don't know how to extract files out of this binary by myself (this would be helpful, because then I can do the install process via script).
For Debugging: After installation has finished (even with an error) a file named unpack.ini should be in /tmp/ijtmp_*/ which contains license and install steps. I tried to use --debug, but it did nothing.
I think there are two types of possible solutions:
1) extracting and copying the files out of the installer binary by script
2) tricking the installer that it executed ldconfig successfully and then run ldconfig by script/hand (or do nothing).
Any hints how to get this thing to install?
Last edited by Evilandi666 (2014-08-24 11:45:41)

Some more Info: The install binary is created using installjammer, but I still did not find a method to extract it.
Last edited by Evilandi666 (2014-08-24 13:40:38)

Similar Messages

Maybe you are looking for