diff options
author | Carsten Teibes | 2015-04-05 14:45:50 +0200 |
---|---|---|
committer | Carsten Teibes | 2015-04-05 14:45:50 +0200 |
commit | 2e5c76522cec31af3d052d1091e89b76b26e6079 (patch) | |
tree | ea4efc7a1448af98195f5a204dbcc05eee1ec482 | |
download | aur-2e5c76522cec31af3d052d1091e89b76b26e6079.tar.gz |
[add] ultimatestunts 0.7.7.1
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | ultimatestunts-metaserver-cpp-add-includes.patch | 13 | ||||
-rw-r--r-- | ultimatestunts.desktop | 9 | ||||
-rw-r--r-- | ultimatestunts.png | bin | 0 -> 4018 bytes |
5 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e0b00d6e958f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = ultimatestunts + pkgdesc = A remake of the famous DOS racing game 'Stunts'/'4D Sports Driving'. + pkgver = 0.7.7.1 + pkgrel = 3 + url = http://www.ultimatestunts.nl + arch = i686 + arch = x86_64 + license = GPL + depends = sdl_image + depends = freealut + depends = libvorbis + depends = libgl + source = http://downloads.sourceforge.net/sourceforge/ultimatestunts/ultimatestunts-srcdata-0771.tar.gz + source = ultimatestunts-metaserver-cpp-add-includes.patch + source = ultimatestunts.png + source = ultimatestunts.desktop + sha256sums = fcc06e4a2ff2c5c1bd937670acdb079140f3ce0efdf00578eb6559a20ebb26d3 + sha256sums = 29cb962fba6956f87a33744f9a8c593298727738d7b09b7407c8415867a816e5 + sha256sums = 4ed29f72565e802e7b293e7a7a31cb2ca5fb89380ca2bb29a6f02d0527a86cd1 + sha256sums = 9787c726c9073564c47b3ef030269fecef778d0f272095b27934f5893f075f87 + +pkgname = ultimatestunts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cacdd31d1817 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG +# Contributor: Miguel Revilla <yo@miguelrevilla.com> +# Contributor: Fabian Melters <melters [at] gmail [dot] com> + +pkgname=ultimatestunts +pkgver=0.7.7.1 +pkgrel=3 +pkgdesc="A remake of the famous DOS racing game 'Stunts'/'4D Sports Driving'." +arch=('i686' 'x86_64') +url="http://www.ultimatestunts.nl" +license=('GPL') +depends=('sdl_image' 'freealut' 'libvorbis' 'libgl') +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-srcdata-${pkgver//./}.tar.gz" + "$pkgname-metaserver-cpp-add-includes.patch" + "$pkgname.png" + "$pkgname.desktop") +sha256sums=('fcc06e4a2ff2c5c1bd937670acdb079140f3ce0efdf00578eb6559a20ebb26d3' + '29cb962fba6956f87a33744f9a8c593298727738d7b09b7407c8415867a816e5' + '4ed29f72565e802e7b293e7a7a31cb2ca5fb89380ca2bb29a6f02d0527a86cd1' + '9787c726c9073564c47b3ef030269fecef778d0f272095b27934f5893f075f87') + +prepare() { + patch -d $pkgname-srcdata-${pkgver//./} -Np0 < $pkgname-metaserver-cpp-add-includes.patch +} + +build() { + cd $pkgname-srcdata-${pkgver//./} + + ./configure --prefix=/usr --sysconfdir=/etc + make -j1 +} + +package() { + cd $pkgname-srcdata-${pkgver//./} + + make sysconfdir="$pkgdir/etc" prefix="$pkgdir/usr" install + + # .desktop entry + install -Dm644 ../$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png + install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop + # cleanup + find "$pkgdir/" -type d -name .svn -print0 | xargs -0 rm -rf +} diff --git a/ultimatestunts-metaserver-cpp-add-includes.patch b/ultimatestunts-metaserver-cpp-add-includes.patch new file mode 100644 index 000000000000..1057cd242bf8 --- /dev/null +++ b/ultimatestunts-metaserver-cpp-add-includes.patch @@ -0,0 +1,13 @@ +--- simulation/metaserver.cpp.bad 2012-09-15 12:52:58.205623553 +0200 ++++ simulation/metaserver.cpp 2012-09-15 12:51:26.928953196 +0200 +@@ -14,6 +14,10 @@ + * (at your option) any later version. * + * * + ***************************************************************************/ ++#include <stdio.h> ++#include <stdlib.h> ++#include <unistd.h> ++#include <string.h> + #include <cstdio> + #include <cstdlib> + #include <sys/types.h> diff --git a/ultimatestunts.desktop b/ultimatestunts.desktop new file mode 100644 index 000000000000..75d79c1a657e --- /dev/null +++ b/ultimatestunts.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Terminal=false +Name=Ultimate Stunts +Comment=Remake of the famous DOS-game stunts. +Exec=ustunts +Icon=ultimatestunts +Categories=Game; +StartupNotify=false diff --git a/ultimatestunts.png b/ultimatestunts.png Binary files differnew file mode 100644 index 000000000000..93261446fb02 --- /dev/null +++ b/ultimatestunts.png |