Commit ca17be97 authored by chaves's avatar chaves

Removed packages moved to [games].

parent cbe70fe5
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=djl
pkgver=1.2.20
pkgrel=1
pkgdesc="A game manager inspired by Steam from Valve software which makes it possible via a repository to download, install and remove a reasonable number of games."
arch=(i686 x86_64)
url="http://www.djl-linux.org/"
license=('gpl')
depends=('python' 'pyqt' 'python-feedparser')
source=(http://www.djl-linux.org/maj_djl/Paquets-Arch/${pkgname}-${pkgver}-Arch.tar.gz)
md5sums=('51ae181e22f09bf91b20b0a1bde06b69')
build() {
cd $srcdir/$pkgname
mkdir -p $pkgdir/usr/share/djl
mkdir -p $pkgdir/usr/bin/
cp -fr $srcdir/$pkgname/* $pkgdir/usr/share/djl
chmod +x $pkgdir/usr/share/djl/djl.sh
echo "/usr/share/djl/djl.sh" > $pkgdir/usr/bin/djl
chmod +x $pkgdir/usr/bin/djl
}
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=frozen-bubble
pkgver=2.2.0
pkgrel=1
pkgdesc="A game in which you throw colorful bubbles and build groups to destroy the bubbles"
arch=('i686' 'x86_64')
url="http://www.frozen-bubble.org"
license=('GPL2')
depends=('sdl_perl' 'sdl_mixer' 'perl-locale-gettext' 'sdl_pango')
options=('!emptydirs')
source=(http://www.frozen-bubble.org/data/${pkgname}-${pkgver}.tar.bz2 \
frozen-bubble.desktop)
md5sums=('f7987201470d6755ed309762d348e0dd' '3e0755836580e374e0911653f8cd33e2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make OPTIMIZE="${CFLAGS}" \
CFLAGS="$(pkg-config glib-2.0 --cflags)" INSTALLDIRS=vendor \
PREFIX=/usr || return 1
make DESTDIR=${pkgdir} PREFIX=/usr install || return 1
install -D -m644 icons/frozen-bubble-icon-64x64.png ${pkgdir}/usr/share/pixmaps/frozen-bubble.png || return 1
install -D -m644 ${srcdir}/frozen-bubble.desktop ${pkgdir}/usr/share/applications/frozen-bubble.desktop || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Frozen Bubble
Icon=frozen-bubble.png
Exec=frozen-bubble
Terminal=false
Categories=Game;
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=openttd
pkgver=1.0.4
pkgrel=1
pkgdesc='An engine for running Transport Tycoon Deluxe.'
arch=('i686' 'x86_64')
url='http://www.openttd.org'
license=('GPL')
depends=('libpng' 'sdl' 'icu' 'fontconfig' 'hicolor-icon-theme' 'desktop-file-utils')
install=openttd.install
optdepends=('openttd-opengfx: free graphics'
'openttd-opensfx: free soundset')
source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.bz2")
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix-dir=/usr \
--binary-name=${pkgname} \
--binary-dir=bin \
--data-dir=share/${pkgname} \
--install-dir=${pkgdir} \
--doc-dir=share/doc/${pkgname} \
--menu-name="OpenTTD" \
--personal-dir=.${pkgname}
make
}
package() {
cd ${pkgname}-${pkgver}
make install
}
md5sums=('e11e81bee589c04abd3cc4f3fafcb2b1')
post_install() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
update-desktop-database > /dev/null 2>&1
}
post_upgrade() {
post_install $1
}
pre_remove() {
update-desktop-database > /dev/null 2>&1
}
post_remove() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
update-desktop-database > /dev/null 2>&1
}
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=smc
pkgver=1.9
pkgrel=1
pkgdesc="Secret Maryo Chronicles"
arch=('i686' 'x86_64')
url="http://www.secretmaryo.org/"
license=('GPL3')
depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'cegui' 'boost' 'libpng')
makedepends=('autoconf' 'automake' 'boost')
source=(http://downloads.sourceforge.net/smclone/$pkgname-$pkgver.tar.bz2
http://downloads.sourceforge.net/smclone/SMC_Music_4.1_high.zip
smc.desktop
smc.png)
md5sums=('75ab7826303c49aec25b052a8b90287f'
'f0d5fad6f1d0387bd909c93226698ba9'
'0a681420afc9227e8fe975972dbf6226'
'efca7580e28748625eb676c9d24ee122')
build() {
cd $srcdir/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
}
package() {
cd $srcdir/$pkgname-$pkgver
make install LDADD=-lpng DESTDIR=$pkgdir
# install some freedesktop.org compatibility
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
cp -R $srcdir/data/music $pkgdir/usr/share/smc/
}
[Desktop Entry]
Name=Secret Maryo Chronicles
Name[it]=Secret Maryo Chronicles
GenericName=Arcade Game
GenericName[it]=Gioco Arcade
Exec=smc
Icon=smc.png
Terminal=false
Type=Application
Categories=Game;ArcadeGame;KidsGame;
StartupNotify=false
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=wesnoth
pkgver=1.8.5
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.wesnoth.org/"
depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'libvorbis' 'fribidi' 'freetype2' 'gcc-libs' 'pango' 'lua')
makedepends=('boost')
install=wesnoth.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
wesnoth-libpng-1.4.0.patch)
md5sums=('a800285d1406690755dd0ea22b98b6df'
'ca7412ffc4682ef55ddf82d56b0e2f08')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../wesnoth-libpng-1.4.0.patch || return 1
./autogen.sh || return 1
./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
diff -Nur wesnoth-1.8.orig/src/tools/exploder_utils.cpp wesnoth-1.8/src/tools/exploder_utils.cpp
--- wesnoth-1.8.orig/src/tools/exploder_utils.cpp 2010-01-01 15:16:49.000000000 +0200
+++ wesnoth-1.8/src/tools/exploder_utils.cpp 2010-04-08 17:38:03.066201123 +0300
@@ -174,8 +174,8 @@
//TODO: review whether providing NULL error handlers is something
//sensible
png_struct* png_ptr = png_create_write_struct
- (PNG_LIBPNG_VER_STRING, reinterpret_cast<png_voidp>(png_voidp_NULL),
- png_error_ptr_NULL, png_error_ptr_NULL);
+ (PNG_LIBPNG_VER_STRING, reinterpret_cast<png_voidp>(NULL),
+ NULL, NULL);
if(!png_ptr)
throw exploder_failure("Unable to initialize the png write structure");
# arg 1: the new package version
post_install() {
cat << EOF
Note:
==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma"
==> eg. export SDL_AUDIODRIVER="dma" ; wesnoth
==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
EOF
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment