You are not logged in.
Pages: 1
#Contributor: Lukas Sabota <punkrockguy318@comcast.net>
pkgname=armagetron
pkgver=0.2.5.2
pkgrel=3
pkgdesc="A Tron clone in 3d"
url="http://armagetron.sourceforge.net"
depends=(sdl_image sdl sdl_mixer)
source=(http://heanet.dl.sourceforge.net/sourceforge/armagetron/armagetron-0.2.5.2.tar.gz)
md5sums=(99bb6761c3791653762aa3135c51a646)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
Every time I install the package this makes, I just get an empty package!! What's wrong? :evil:
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
likely the files are getting installed directly to your system change
make prefix=$startdir/pkg/usr install
to
make DESTDIR=$startdir/pkg install
i strongly recommend installing fakeroot and enabling fakeroot for makepkg. this way you can build as user but if any files were to be installed directly to your system it would fail. from there you troubleshoot why the build is failing while at the same time you are NOT accidentally installing files to your system.
AKA uknowme
I am not your friend
Offline
I tried DESTDIR also: It's not working! It keeps installing into /usr/bin/games no matter what! Weird!
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
I can't pass install dir to make in line
make install
The Makefile includes an external script to install, my guess is that is the reason.
I can make the package with this:
./configure --prefix=$startdir/pkg/usr --disable-etc
make || return 1
make install
I didn't try to install and run it yet.
Offline
No, forget what I wrote, it doesn't work. The install path should be passed to "make install", not to configure.
A not so very nice way would be to patch src/armagetron-0.2.5.2/bindist/install and appropriately change the line
INSTALL=/usr/games/armagetron
like:
./configure --prefix=/usr --disable-etc
make || return 1
patch bindist/install patch_file
make install
Offline
Pages: 1