You are not logged in.
hi all
i am trying to build my first pkgbuild (my first time...) , but i am having some problems with it.
in the stage where it trying to do "make install" it dosent enter the fakeroot env. and dosent work...
the code is:
pkgname=luach
pkgver=0.01
pkgrel=1
pkgdesc="Hebrew calander using Qt4 library"
arch=('i686' 'x86_64')
url="http://code.google.com/p/luach/"
license=('GPL2')
depends=('qt>=4.0' 'libhdate')
source=(http://luach.googlecode.com/files/Luach-0.01.tar.gz)
md5sums=(fb9ec8c78c6571a5069eee899c06a22b) #generate with MD5sum
build() {
cd "$srcdir/Luach"
qmake
make
make DESTDIR="$pkgdir/pkg" install
}
thank you!
Assaf
Offline
makepkg will enter fakeroot before it runs the build() function. Can you post the build output showing us your problem?
Offline
in the stage where it trying to do "make install" it dosent enter the fakeroot env. and dosent work...
It fails because of a wrong installation prefix, not because of fakeroot. Use INSTALL_ROOT instead of DESTDIR (the extra /pkg is also wrong, although it's not the cause of the error):
make INSTALL_ROOT="$pkgdir" install
Note: they install stuff to /usr/local. I'm not very familiar with the qmake system, so the only way I know to fix it is to manually sed the *.path vars in the Luach.pro file.
Last edited by tdy (2009-10-13 17:27:47)
Offline