You are not logged in.

#1 2004-03-03 01:39:04

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Armagetron

PKGBUILD

#Contributor: Lukas Sabota <punkrockguy318@comcast.net>
pkgname=armagetron
pkgver=0.2.5.2
pkgrel=2
pkgdesc="A Tron clone in 3d"
url="http://heanet.dl.sourceforge.net/sourceforge/armagetron/armagetron-0.2.5.2.tar.gz"
depends=(sdl_image sdl sdl_mixer)
source=($pkgname-$pkgver.tar.gz)
md5sums=(99bb6761c3791653762aa3135c51a646)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make install
}

This is an awesome game!  Way addictive  :twisted: Hope you guys like it!! Works great for me, see how it works for you!

edit: i updated the package to remove the unneeded mesa dependency


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

#2 2004-07-08 21:02:16

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Armagetron

Hi! I cant compile armagetron with this pkgbuild, it return many errors while compiling. What gcc do you use?

Offline

#3 2004-07-08 21:07:35

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Armagetron

By date it must be gcc-3.3.3...
I use 3.4, anybody can compile armagetron on gcc 3.4?

Offline

#4 2004-07-08 21:11:37

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Armagetron

What errors?
BTW did you notice that stuff from url should be really in source? Maybe you just can't download it ? url should be just http://armagetron.sf.net. Or is this really gcc error?

Offline

#5 2004-07-08 21:48:06

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: Armagetron

This errored to death on me. Using gcc 3.4.1 . It complains about stuff ranging from bad constructors and destructors to...well everything. :?  Good game though...I played it way back when I used mandrake :oops:


The suggestion box only accepts patches.

Offline

#6 2004-07-08 21:53:09

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Armagetron

I nagged the devel's, and they said they would release a maintainence release in 3-4 weeks!  Yes! big_smile


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

#7 2004-07-08 22:08:56

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: Armagetron

What errors?

Error in every line during compiling smile

I nagged the devel's, and they said they would release a maintainence release in 3-4 weeks! Yes! Very Happy

It mean they release version that support gcc-3.4? If yes it cool! And i dont need to downgrade gcc wink

Offline

#8 2004-07-28 11:05:22

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Armagetron

I couldn't build this with gcc 3.4 either. I went ahead and installed
gcc 3.3.3 using a pkgbuild from incomming so I have both gcc 3.4
and 3.3 on my system. I know I have to specify a CC variable in
the pkgbild to tell it to use gcc 3.3.3 but im not sure how to to
this. I tried adding CC=gcc-3.3.3 to the build. Am I doing this
wrong? I still get errors during the build the same as when I use
gcc 3.4 to compile it.

here's the pkgbuild I'm using. Could someone tell me how to
use the CC variable with gcc-3.3.3 ? I have gcc-3.3.3 installed in
/opt. Do I need to tell the pkgbuild where gcc-3.3.3 is?


pkgname=armagetron
pkgver=0.2.5.2
pkgrel=2
pkgdesc="A Tron clone in 3d"
url="http://prdownloads.sourceforge.net/armagetron/armagetron-0.2.5.2.tar.gz?use_mirror=umn"
depends=(sdl_image sdl sdl_mixer)
source=($pkgname-$pkgver.tar.gz)
md5sums=(99bb6761c3791653762aa3135c51a646)
CC=gcc-3.3.3

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make install
}


-- archlinux 是一个极好的 linux

Offline

Board footer

Powered by FluxBB