mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
Remove unpopular games
FIXES FS#1493
This commit is contained in:
parent
a7ba7e9db7
commit
48328d138e
@ -1,33 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
# Contributor: Iwan Gabovitch <qubodup@gmail.com>
|
||||
|
||||
pkgname=avoision
|
||||
pkgver=1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Simple arcade-style game."
|
||||
arch=(i686 x86_64)
|
||||
url="http://avsn.sourceforge.net/"
|
||||
license=("GPL3")
|
||||
depends=('lua' 'radius-engine' 'sdl')
|
||||
makedepends=('zip')
|
||||
categories=('games')
|
||||
source=(http://sourceforge.net/projects/avsn/files/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('3fb3e84a61ced8bdc238cbf96041fd9a')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
@ -1,47 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=globulation2
|
||||
_pkgname=glob2
|
||||
pkgver=0.9.4.4
|
||||
pkgrel=6
|
||||
pkgdesc="RTS game which minimizes micro-management by automatically assigning tasks to units."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.globulation2.org/"
|
||||
license=('GPL3')
|
||||
depends=('boost-libs' 'glu' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'libgl' 'fribidi' 'desktop-file-utils')
|
||||
makedepends=('scons' 'boost' 'mesa' 'patch')
|
||||
categories=('games')
|
||||
install=$pkgname.install
|
||||
source=("http://dl.sv.nongnu.org/releases/$_pkgname/0.9.4/$_pkgname-$pkgver.tar.gz"
|
||||
"$pkgname-0.9.4.1-gcc44.patch"
|
||||
"fix-ftbfs-gcc49.diff")
|
||||
md5sums=('94c527325f355a29a2807f8f18a6e6a8'
|
||||
'b13cb1f73ece23bfc6413773678d583e'
|
||||
'a7f2a53de593c60a49d3ca26dac79ecc')
|
||||
|
||||
prepare() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
|
||||
patch -p0 -i "$srcdir/$pkgname-0.9.4.1-gcc44.patch"
|
||||
patch -p1 -i "$srcdir/fix-ftbfs-gcc49.diff"
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
scons LINKFLAGS="-lboost_system" BINDIR=$pkgdir/usr/bin INSTALLDIR=$pkgdir/usr/share
|
||||
}
|
||||
|
||||
package () {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
scons install
|
||||
|
||||
find $pkgdir/usr/share -type f -exec chmod 644 '{}' \;
|
||||
install -Dm644 data/icons/glob2-icon-48x48.png $pkgdir/usr/share/pixmaps/glob2-icon-48x48.png
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
Index: glob2-0.9.4.4/src/Game.h
|
||||
===================================================================
|
||||
--- glob2-0.9.4.4.orig/src/Game.h 2014-07-14 10:36:36.705074927 +0800
|
||||
+++ glob2-0.9.4.4/src/Game.h 2014-07-14 10:38:28.733077827 +0800
|
||||
@@ -148,7 +148,8 @@
|
||||
TOP_TO_BOTTOM,
|
||||
BOTTOM_TO_TOP
|
||||
};
|
||||
-
|
||||
+
|
||||
+public:
|
||||
struct BuildProject
|
||||
{
|
||||
int posX;
|
@ -1,87 +0,0 @@
|
||||
diff -up libgag/include/StreamBackend.h.orig libgag/include/StreamBackend.h
|
||||
--- libgag/include/StreamBackend.h.orig 2009-03-18 03:46:47.000000000 +0100
|
||||
+++ libgag/include/StreamBackend.h 2009-06-20 14:21:10.000000000 +0200
|
||||
@@ -43,7 +43,7 @@ namespace GAGCore
|
||||
virtual void flush(void) = 0;
|
||||
virtual void read(void *data, size_t size) = 0;
|
||||
virtual void putc(int c) = 0;
|
||||
- virtual int getc(void) = 0;
|
||||
+ virtual int get_c(void) = 0;
|
||||
virtual void seekFromStart(int displacement) = 0;
|
||||
virtual void seekFromEnd(int displacement) = 0;
|
||||
virtual void seekRelative(int displacement) = 0;
|
||||
@@ -67,7 +67,7 @@ namespace GAGCore
|
||||
virtual void flush(void) { assert(fp); fflush(fp); }
|
||||
virtual void read(void *data, size_t size) { assert(fp); fread(data, size, 1, fp); }
|
||||
virtual void putc(int c) { assert(fp); fputc(c, fp); }
|
||||
- virtual int getc(void) { assert(fp); return fgetc(fp); }
|
||||
+ virtual int get_c(void) { assert(fp); return fgetc(fp); }
|
||||
virtual void seekFromStart(int displacement) { assert(fp); fseek(fp, displacement, SEEK_SET); }
|
||||
virtual void seekFromEnd(int displacement) { assert(fp); fseek(fp, displacement, SEEK_END); }
|
||||
virtual void seekRelative(int displacement) { assert(fp); fseek(fp, displacement, SEEK_CUR); }
|
||||
@@ -92,7 +92,7 @@ namespace GAGCore
|
||||
virtual void flush(void);
|
||||
virtual void read(void *data, size_t size);
|
||||
virtual void putc(int c);
|
||||
- virtual int getc(void);
|
||||
+ virtual int get_c(void);
|
||||
virtual void seekFromStart(int displacement);
|
||||
virtual void seekFromEnd(int displacement);
|
||||
virtual void seekRelative(int displacement);
|
||||
@@ -117,7 +117,7 @@ namespace GAGCore
|
||||
virtual void flush(void) { }
|
||||
virtual void read(void *data, size_t size);
|
||||
virtual void putc(int c);
|
||||
- virtual int getc(void);
|
||||
+ virtual int get_c(void);
|
||||
virtual void seekFromStart(int displacement);
|
||||
virtual void seekFromEnd(int displacement);
|
||||
virtual void seekRelative(int displacement);
|
||||
diff -up libgag/src/StreamBackend.cpp.orig libgag/src/StreamBackend.cpp
|
||||
--- libgag/src/StreamBackend.cpp.orig 2009-03-18 03:46:47.000000000 +0100
|
||||
+++ libgag/src/StreamBackend.cpp 2009-06-20 14:21:53.000000000 +0200
|
||||
@@ -75,9 +75,9 @@ namespace GAGCore
|
||||
buffer->putc(c);
|
||||
}
|
||||
|
||||
- int ZLibStreamBackend::getc(void)
|
||||
+ int ZLibStreamBackend::get_c(void)
|
||||
{
|
||||
- return buffer->getc();
|
||||
+ return buffer->get_c();
|
||||
}
|
||||
|
||||
void ZLibStreamBackend::seekFromStart(int displacement)
|
||||
@@ -147,7 +147,7 @@ namespace GAGCore
|
||||
write(&ch, 1);
|
||||
}
|
||||
|
||||
- int MemoryStreamBackend::getc(void)
|
||||
+ int MemoryStreamBackend::get_c(void)
|
||||
{
|
||||
Uint8 ch;
|
||||
read(&ch, 1);
|
||||
diff -up libgag/src/Stream.cpp.orig libgag/src/Stream.cpp
|
||||
--- libgag/src/Stream.cpp.orig 2009-03-18 03:46:47.000000000 +0100
|
||||
+++ libgag/src/Stream.cpp 2009-06-20 14:21:35.000000000 +0200
|
||||
@@ -60,7 +60,7 @@ namespace GAGCore
|
||||
std::string s;
|
||||
while (1)
|
||||
{
|
||||
- int c = backend->getc();
|
||||
+ int c = backend->get_c();
|
||||
if(c=='\r')
|
||||
continue;
|
||||
if ((c >= 0) && (c != '\n'))
|
||||
diff -up libgag/src/TextStream.cpp.orig libgag/src/TextStream.cpp
|
||||
--- libgag/src/TextStream.cpp.orig 2009-03-18 03:46:47.000000000 +0100
|
||||
+++ libgag/src/TextStream.cpp 2009-06-20 14:21:22.000000000 +0200
|
||||
@@ -150,7 +150,7 @@ namespace GAGCore
|
||||
|
||||
int nextChar(void)
|
||||
{
|
||||
- next = stream->getc();
|
||||
+ next = stream->get_c();
|
||||
if (next == '\n')
|
||||
{
|
||||
column = 0;
|
@ -1,12 +0,0 @@
|
||||
post_install() {
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
@ -1,40 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Contributor: Mateusz Herych <heniekk@gmail.com>
|
||||
# Contributor: Björn Lindeijer <bjorn@lindeijer.nl>
|
||||
# Contributor (Chakra): Conrad Hübler <conrad-huebler@arcor.de>
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
|
||||
pkgname=guichan
|
||||
pkgver=0.8.2
|
||||
pkgrel=1
|
||||
pkgdesc="Guichan is a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://guichan.sourceforge.net/"
|
||||
license=('BSD')
|
||||
makedepends=('sdl_image' 'allegro' 'libgl' 'glut')
|
||||
conflicts=('guichan-sdl' 'guichan-allegro' 'guichan-opengl' 'guichan-glut')
|
||||
provides=('guichan-sdl' 'guichan-allegro' 'guichan-opengl' 'guichan-glut')
|
||||
options=(!libtool !strip)
|
||||
source=(http://guichan.googlecode.com/files/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('af535d7f387e774e3197cef8023ea105')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
CXXFLAGS="-g" \
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
make prefix=$pkgdir/usr install
|
||||
|
||||
# License.
|
||||
install -m644 -D COPYING ${pkgdir}/usr/share/licenses/$pkgname/license.txt
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
|
||||
pkgname=hummstrumm
|
||||
_pkgname=hummstrummengine
|
||||
pkgver=0.7.0
|
||||
pkgrel=1
|
||||
pkgdesc="A 3D adventure game in which two players set out to stop the evil Dr. Geoff from taking over the world."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://hummstrumm.blogspot.com/"
|
||||
screenshot="https://lh6.googleusercontent.com/-oa0ajQj51WY/S6Dx2iKb7nI/AAAAAAAAAXc/nsL2eJw2r4k/d/splitscreen-ui-concept.png"
|
||||
license=('GPL3' 'CCPL-by-sa')
|
||||
depends=(boost cipra eigen3 freetype2 ftgl intel-tbb libjpeg libpng libtheora libvorbis libxrandr mesa openal zlib)
|
||||
makedepends=(cmake doxygen)
|
||||
categories=('games')
|
||||
source=(http://downloads.sourceforge.net/project/hummstrumm/Source/hummstrummengine-$pkgver.tar.gz)
|
||||
md5sums=('45c4cc1b90f288207d8081f4cd1f3f4f')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
CXXFLAGS="" \
|
||||
cmake \
|
||||
-G "Unix Makefiles" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_pkgname-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
pkgname=meandmyshadow
|
||||
pkgver=0.4.1
|
||||
pkgrel=1
|
||||
pkgdesc="Puzzle/platform game with an interesting concept and rather unique gameplay"
|
||||
arch=('x86_64')
|
||||
url="http://meandmyshadow.sourceforge.net/"
|
||||
license=('GPL3')
|
||||
depends=('sdl_gfx' 'sdl_image' 'curl' 'libarchive' 'sdl_ttf' 'sdl_mixer' 'hicolor-icon-theme' 'libgl' 'mesa' 'glu')
|
||||
makedepends=('cmake')
|
||||
categories=('games')
|
||||
screenshot=('http://meandmyshadow.sourceforge.net/public/images/screenshot_thumbnail.png')
|
||||
source=("http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-${pkgver}-src.tar.gz/download"
|
||||
"XFree.patch")
|
||||
md5sums=('724cb4a1822572dbe04131b5db658d19'
|
||||
'571408e6efdf82358570e9f89db115e4')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch --binary < "$startdir/XFree.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make install DESTDIR="$pkgdir"
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
--- CMakeLists.txt 2012-07-26 03:07:38.000000000 +0800
|
||||
+++ CMakeLists.txt.new 2015-08-10 10:25:42.370061930 +0800
|
||||
@@ -15,13 +15,12 @@
|
||||
Find_Package(CURL REQUIRED)
|
||||
Find_Package(LibArchive REQUIRED)
|
||||
Find_Package(OpenSSL REQUIRED)
|
||||
+Find_Package(X11 REQUIRED)
|
||||
|
||||
#Use openGL only when compiling with HARDWARE_ACCELERATION.
|
||||
#Otherwise we try to find XLib.
|
||||
if(HARDWARE_ACCELERATION)
|
||||
Find_Package(OpenGL REQUIRED)
|
||||
-else(HARDWARE_ACCELERATION)
|
||||
- INCLUDE(FindX11)
|
||||
endif(HARDWARE_ACCELERATION)
|
||||
|
||||
#Add the include dirs of the libraries.
|
||||
@@ -33,6 +32,7 @@
|
||||
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR})
|
||||
INCLUDE_DIRECTORIES(${LibArchive_INCLUDE_DIR})
|
||||
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
|
||||
+INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR})
|
||||
#Use openGL only when compiling with HARDWARE_ACCELERATION.
|
||||
if(HARDWARE_ACCELERATION)
|
||||
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
|
||||
|
@ -1,37 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
#
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=openmortal
|
||||
pkgver=0.7
|
||||
pkgrel=1
|
||||
pkgdesc="A networked clone of the fighting game Mortal Kombat."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://openmortal.sourceforge.net/"
|
||||
license=('GPL2')
|
||||
depends=('freetype2' 'sdl_image' 'sdl_mixer' 'sdl_net')
|
||||
options=(!libtool)
|
||||
categories=('games')
|
||||
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
|
||||
$pkgname-$pkgver-gcc41.patch)
|
||||
md5sums=('95278382bb563906fce624d833a845cf'
|
||||
'7823133f184a4cd5859f971e6e2f3452')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
patch -Np0 -i $srcdir/$pkgname-$pkgver-gcc41.patch || return 1
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- src/OnlineChat.cpp.old 2006-01-28 14:34:42.000000000 -0700
|
||||
+++ src/OnlineChat.cpp 2006-01-28 14:34:53.000000000 -0700
|
||||
@@ -56,7 +56,7 @@
|
||||
class CChallengeMenu: public Menu
|
||||
{
|
||||
public:
|
||||
- CChallengeMenu::CChallengeMenu( std::string a_sChallenger )
|
||||
+ CChallengeMenu( std::string a_sChallenger )
|
||||
: Menu( "You have been challenged!" ),
|
||||
m_sChallenger( a_sChallenger )
|
||||
{
|
@ -1,63 +0,0 @@
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
|
||||
pkgname=openworldsoccer
|
||||
_pkgname=ows
|
||||
pkgver=0.5
|
||||
pkgrel=5
|
||||
pkgdesc="A funny, easy to play and nice looking soccer game."
|
||||
arch=('x86_64')
|
||||
url="http://openworldsoccer.sourceforge.net/"
|
||||
screenshot="http://sourceforge.net/dbimage.php?id=212203"
|
||||
license=('GPL3')
|
||||
depends=('boost-libs' 'ftgl' 'sdl' 'sdl_image' 'ttf-dejavu' 'glu' 'mesa')
|
||||
makedepends=('boost' 'scons' 'subversion')
|
||||
categories=('games')
|
||||
|
||||
_svntrunk="https://$pkgname.svn.sourceforge.net/svnroot/$pkgname/tags/release-$pkgver"
|
||||
_svnmod=$pkgname
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
|
||||
if [ ! -d $_svnmod/.svn ]; then
|
||||
svn co $_svntrunk --config-dir ./ $_svnmod
|
||||
fi
|
||||
|
||||
msg "SVN checkout done or server timeout"
|
||||
msg "Starting make..."
|
||||
|
||||
rm -rf $srcdir/$_svnmod-build
|
||||
cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
|
||||
cd $srcdir/$_svnmod-build
|
||||
|
||||
# Fix SConstruct reference to boost library.
|
||||
sed \
|
||||
-e "s/boost_program_options-mt/boost_program_options/" \
|
||||
-i SConstruct
|
||||
|
||||
# Fix DejaVu fonts path.
|
||||
sed \
|
||||
-e "s#/usr/share/fonts/truetype/ttf-dejavu/#/usr/share/fonts/TTF/#" \
|
||||
-i main.cpp
|
||||
|
||||
scons
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_svnmod-build
|
||||
|
||||
# Shared folder.
|
||||
install -d $pkgdir/usr/share/$pkgname
|
||||
|
||||
# Binary.
|
||||
install -Dm755 $_pkgname $pkgdir/usr/share/$pkgname/$_pkgname
|
||||
|
||||
# Data.
|
||||
cp -R data images tactics $pkgdir/usr/share/$pkgname/
|
||||
|
||||
# Execution script.
|
||||
install -d $pkgdir/usr/bin
|
||||
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
|
||||
echo "cd /usr/share/$pkgname && ./$_pkgname \$@" >> $pkgdir/usr/bin/$pkgname
|
||||
chmod +x $pkgdir/usr/bin/$pkgname
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||||
|
||||
pkgname=pink-pony
|
||||
pkgver=1.4.1
|
||||
pkgrel=4
|
||||
pkgdesc="Tron-like multiplayer racing game with ponies."
|
||||
arch=(x86_64)
|
||||
url="http://code.google.com/p/pink-pony/"
|
||||
license=('GPL3')
|
||||
depends=('glfw2' 'ilmbase' 'devil' 'protobuf' 'ftgl' 'libsigc++2.0' 'sdl_mixer')
|
||||
makedepends=('scons')
|
||||
categories=('games')
|
||||
screenshot=('http://web.student.tuwien.ac.at/~e0526341/div/pony2.jpeg')
|
||||
source=(https://github.com/ginkgo/pink-pony/archive/${pkgver}.tar.gz)
|
||||
md5sums=('9d19c777b1effe95818813290932e157')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
scons
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
mkdir -p $pkgdir/usr/share/$pkgname/resources
|
||||
cp -R resources/* $pkgdir/usr/share/$pkgname/resources
|
||||
install -Dm 755 install/pink-pony $pkgdir/usr/bin/pink-pony
|
||||
install -Dm 755 Pony $pkgdir/usr/lib/Pony
|
||||
install -Dm 644 pony.options $pkgdir/etc/pony.options
|
||||
install -Dm 644 install/pink-pony.png $pkgdir/usr/share/pixmaps/pink-pony.png
|
||||
install -Dm 644 install/pink-pony.desktop $pkgdir/usr/share/applications/pink-pony.desktop
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
||||
# Contributor: Moritz Kiefer <moritz.kiefer@gmail.com>
|
||||
|
||||
pkgname=sintel
|
||||
pkgver=alpha_1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Sintel The Game is a video game adaptation of the Blender Foundation’s 3rd open film Sintel"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.sintelgame.org"
|
||||
screenshot="http://sintelgame.org/wp-content/uploads/screenshots/garway_docks.png"
|
||||
license=('GPL2' 'CCPL-by-sa')
|
||||
depends=('blender')
|
||||
source=("http://download.sintelgame.org/sintel_the_game_${pkgver}.zip")
|
||||
md5sums=('305538a7da4414a0b2cfcd1da5795de0')
|
||||
|
||||
package () {
|
||||
cd "${srcdir}/sintel_the_game_alpha/sintelthegame"
|
||||
|
||||
# Install data files.
|
||||
install -d ${pkgdir}/usr/share/${pkgname}
|
||||
cp -R * ${pkgdir}/usr/share/${pkgname}
|
||||
|
||||
# Install an execution script.
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
|
||||
echo "blenderplayer /usr/share/$pkgname/sintel_win/sintel_win.blend" >> $pkgdir/usr/bin/$pkgname
|
||||
chmod 755 $pkgdir/usr/bin/$pkgname
|
||||
}
|
||||
|
@ -1,37 +0,0 @@
|
||||
#
|
||||
# Games Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||||
|
||||
pkgname=toohardforyou
|
||||
_pkgname=2H4U
|
||||
pkgver=1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Mix between a Tetris-like game and a wall breaker."
|
||||
url="https://sourceforge.net/projects/toohardforyou"
|
||||
license=('GPL')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('sdl_ttf' 'sdl_mixer' 'sdl_image' 'gcc-libs')
|
||||
categories=('games')
|
||||
source=("http://downloads.sourceforge.net/$pkgname/$_pkgname-${pkgver}_SOURCES.tar.gz")
|
||||
md5sums=('e5a4b473c8f7cc3ed4acdf29513d6ab9')
|
||||
install=(install.sh)
|
||||
|
||||
build() {
|
||||
cd $srcdir/$_pkgname/scripts
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_pkgname
|
||||
|
||||
install -d $pkgdir/usr/share/$pkgname
|
||||
cp -R 2H4U aide data help $pkgdir/usr/share/$pkgname/
|
||||
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
echo "#!/bin/sh" > $pkgdir/usr/bin/$pkgname
|
||||
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname
|
||||
echo "./2H4U" >> $pkgdir/usr/bin/$pkgname
|
||||
chmod +x $pkgdir/usr/bin/$pkgname
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
pkgname=toohardforyou
|
||||
|
||||
post_install() {
|
||||
if [ -e /usr/share/$pkgname/data/HighScores.dat ]; then
|
||||
if [ -e /usr/share/$pkgname/data/config.dat ]; then
|
||||
echo "Highscores and config files will be keeped"
|
||||
else
|
||||
touch /usr/share/$pkgname/data/config.dat
|
||||
touch /usr/share/$pkgname/data/HighScores.dat
|
||||
chmod 777 /usr/share/$pkgname/data/{config.dat,HighScores.dat}
|
||||
fi
|
||||
else
|
||||
touch /usr/share/$pkgname/data/config.dat
|
||||
touch /usr/share/$pkgname/data/HighScores.dat
|
||||
chmod 777 /usr/share/$pkgname/data/{config.dat,HighScores.dat}
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
|
||||
post_remove() {
|
||||
cp /usr/share/share/$pkgname/data/config.dat /usr/share/share/$pkgname/data/config.dat.back
|
||||
cp /usr/share/share/$pkgname/data/HighScores.dat /usr/share/share/$pkgname/data/HighScores.dat.back
|
||||
}
|
Loading…
Reference in New Issue
Block a user