diff options
author | Carsten Teibes | 2016-08-07 13:27:31 +0200 |
---|---|---|
committer | Carsten Teibes | 2016-08-07 13:27:31 +0200 |
commit | 54c22efcbd0a5ebe730e3d03f83ad40c3f68dbab (patch) | |
tree | e4309d22be0063895443ec586f59632d58397107 | |
parent | 6f2ab00b0b7b58d00518eae3498b9ece8c545e12 (diff) | |
download | aur-54c22efcbd0a5ebe730e3d03f83ad40c3f68dbab.tar.gz |
[upd] Adapt to new build system
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rwxr-xr-x | rott.sh | 4 |
3 files changed, 13 insertions, 26 deletions
@@ -1,6 +1,6 @@ pkgbase = rott-svn pkgdesc = "Rise of the Triad" is a high quality first-person perspective 3D action game (development version) - pkgver = 1.1.2.r278 + pkgver = 1.1.2.r287 pkgrel = 1 url = http://icculus.org/rott/ arch = i686 @@ -9,9 +9,7 @@ pkgbase = rott-svn makedepends = svn depends = sdl_mixer source = rott::svn://svn.icculus.org/rott/trunk - source = rott.sh sha256sums = SKIP - sha256sums = 19f5c5ccf4b6bd592a8e119f8172a0cb180caf1ab831b820786000dbeaf9651e pkgname = rott-svn @@ -1,7 +1,7 @@ # Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG pkgname=rott-svn -pkgver=1.1.2.r278 +pkgver=1.1.2.r287 pkgrel=1 pkgdesc='"Rise of the Triad" is a high quality first-person perspective 3D action game (development version)' arch=('i686' 'x86_64') @@ -9,10 +9,8 @@ license=('GPL2') makedepends=('svn') depends=('sdl_mixer') url="http://icculus.org/rott/" -source=(rott::"svn://svn.icculus.org/rott/trunk" - "rott.sh") -sha256sums=('SKIP' - '19f5c5ccf4b6bd592a8e119f8172a0cb180caf1ab831b820786000dbeaf9651e') +source=(rott::"svn://svn.icculus.org/rott/trunk") +sha256sums=('SKIP') pkgver() { cd rott @@ -22,21 +20,20 @@ pkgver() { build() { cd rott - # We can not just build all editions, because of a Makefile quirk. Object files will overlap when parallel building is used (-j2). - # You can choose your edition(s) here: - make rott-huntbgin # shareware - make rott-darkwar # commercial - make rott-rottcd # cd - #make rott-rottsite # site license cd + autoreconf -fi + ./configure --enable-suffix=registered + make + + ./configure --enable-shareware --enable-suffix=shareware + make } package() { cd rott - # copy all editions and launcher - install -d "$pkgdir"/usr/bin - install -m755 rott-* "$pkgdir"/usr/bin + # copy both editions and launcher + install -Dm755 rott/rott-registered "$pkgdir"/usr/bin/rott + install -m755 rott/rott-shareware "$pkgdir"/usr/bin install -m755 misc/runrott.sh "$pkgdir"/usr/bin/runrott - install -m755 ../rott.sh "$pkgdir"/usr/bin/rott # doc install -Dm644 doc/rott.6 "$pkgdir"/usr/share/man/man6/rott.6 install -d "$pkgdir"/usr/share/doc/$pkgname @@ -44,8 +41,4 @@ package() { # .desktop entry install -Dm644 misc/rott.png "$pkgdir"/usr/share/pixmaps/rott.png install -Dm644 misc/rott.desktop "$pkgdir"/usr/share/applications/rott.desktop - - # set the cd version as default (as it is a common version, for example still sold at gog.com) - # You can also use all other targets from the build() function, for example 'huntbgin' for the shareware version - sed 's|EDITION|rottcd|' -i "$pkgdir"/usr/bin/rott } diff --git a/rott.sh b/rott.sh deleted file mode 100755 index 4105c1e2d7af..000000000000 --- a/rott.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -mkdir -p $HOME/.rott -cd $HOME/.rott && exec rott-EDITION |