You are not logged in.

#1 2006-04-05 11:00:47

Chman
Member
Registered: 2006-01-31
Posts: 169
Website

[game] Tremulous

Hi, here is my first *real* PKGBUILD, so please tell me if I made something wrong, although it's a very simple PKGBUILD (nothing to compile).

Tremulous is a FPS/RTS game based on the Quake 3 engine - approximatively 100MB download, you don't need Quake 3 installed.

PKGBUILD :

# Contributor: Thomas Hourdel <chman@shakebox.org>
pkgname='tremulous'
pkgver=1.1.0
pkgrel=1
pkgdesc="FPS game based on Quake 3 with RTS elements"
url="http://www.tremulous.net/"
license="GPL"
depends=('xorg-server')
makedepends=('unzip')
conflicts=()
replaces=()
source=(http://switch.dl.sourceforge.net/sourceforge/tremulous/$pkgname-$pkgver.zip)
#source=('tremulous-1.1.0.zip')
md5sums=('3df5f7565571fb9524656308347bce1b')

build() {
    cd $startdir/src/tremulous/
    
    mkdir -p $startdir/pkg/opt/tremulous
    cp -r base/ $startdir/pkg/opt/tremulous
    cp manual.pdf $startdir/pkg/opt/tremulous
    cp tremded.x86 $startdir/pkg/opt/tremulous
    cp tremulous.x86 $startdir/pkg/opt/tremulous

    mkdir -p $startdir/pkg/usr/share/pixmaps
    cp tremulous.xpm $startdir/pkg/usr/share/pixmaps

    mkdir -p $startdir/pkg/usr/bin
    cd $startdir/
    cp tremulous $startdir/pkg/usr/bin
}

Requiered file : tremulous

#!/bin/bash
/opt/tremulous/tremulous.x86

Nice multiplayer game. Please tell me if something's wrong, I would be pleased to fix it.

Offline

Board footer

Powered by FluxBB