You are not logged in.
Alright, I've been trying to make the gtk-qt-theme engine into an arch package. In order to make it build, I first had to put libGL.la in /usr/lib as detailed here http://bbs.archlinux.org/viewtopic.php? … torder=asc
Here's my PKGBUILD:
pkgname=gtk-qt-engine
pkgver=0.5
pkgrel=1
pkgdesc="A Theme which makes your GTK2 Apps match your QT theme"
depends=('gtk2' 'qt')
source=(http://gtk-qt.freedesktop.org/Software/gtk-qt/$pkgname-$pkgver.tar.bz2)
url="http://gtk-qt.freedesktop.org/"
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make prefix=$startdir/pkg install
}
Everything builds, but as the package making process finishes, I get the following error:
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Cleaning up...
==> Finished making: gtk-qt-engine (Tue Aug 10 20:39:45 EDT 2004)
==> Running pacman --upgrade...
loading package data... done.
checking for file conflicts... done.
upgrading gtk-qt-engine... done.
Moreover, if I got to /var/lib/pacman/local/gtk-qt-engine-0.5-1/files, all I get is the following:
%FILES%
%BACKUP%
However, the files do seem to be installed and working: I can go to gtk-theme-switch2 and the qt is there, the software does what it should.
Any ideas?
"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a
Offline
It sounds like your build function is installing directly to your filesystem, which is not what you want to do. You want it to install to the $startdir/pkg directory as if that was the root of the filesystem. For example, something that will go in /usr/bin should go in $startdir/pkg/usr/bin.
Then run makepkg and it will create a package to be installed with pacman using pacman -U packagename. This package can be removed by pacman; installing directly to the filesystem takes packages out of pacman's control.
Dusty
Offline
Probably the makefile doesn't use prefix, try to replace
make prefix=$startdir/pkg install
with
make DESTDIR=$startdir/pkg install
or else with
make PREFIX=$startdir/pkg install
and tell us what happens so.
"...archoholism is a hard disease to cure..."
Archlinux Brasil
Offline
putting in DESTDIR worked. I'll post my pkgbuild promptly in the appropriate forum.
"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a
Offline