summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/balsa/PKGBUILD6
-rw-r--r--community/cegui/PKGBUILD29
-rw-r--r--community/clementine/PKGBUILD4
-rw-r--r--community/csfml/PKGBUILD60
-rw-r--r--community/frogatto/PKGBUILD4
-rw-r--r--community/gambas3/PKGBUILD2
-rw-r--r--community/gnome-packagekit/PKGBUILD13
-rw-r--r--community/gource/PKGBUILD4
-rw-r--r--community/lightspark/PKGBUILD2
-rw-r--r--community/performous/PKGBUILD6
-rw-r--r--community/perl-digest-md5/PKGBUILD14
-rw-r--r--community/rawtherapee/PKGBUILD19
-rw-r--r--community/rawtherapee/rawtherapee.install27
-rw-r--r--community/root/PKGBUILD2
-rw-r--r--community/rss-glx/PKGBUILD8
-rw-r--r--community/rss-glx/rss-glx.install1
-rw-r--r--community/sfml/PKGBUILD120
-rw-r--r--community/spring/PKGBUILD4
-rw-r--r--community/supertux/PKGBUILD15
-rw-r--r--community/vdrift/PKGBUILD4
-rw-r--r--community/widelands/PKGBUILD4
21 files changed, 185 insertions, 163 deletions
diff --git a/community/balsa/PKGBUILD b/community/balsa/PKGBUILD
index 1f69914b0..5ca276e96 100644
--- a/community/balsa/PKGBUILD
+++ b/community/balsa/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 48198 2011-05-29 16:56:14Z bfanella $
+# $Id: PKGBUILD 48556 2011-06-02 02:30:07Z bfanella $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Roman Kyrylych <roman@archlinux.org>
pkgname=balsa
pkgver=2.4.9
-pkgrel=3
+pkgrel=4
pkgdesc="An e-mail client for GNOME"
arch=('i686' 'x86_64')
license=('GPL')
url='http://pawsa.fedorapeople.org/balsa/'
-depends=('libgssglue' 'gmime' 'libwebkit' 'libesmtp' 'libnotify' 'gpgme' 'gtksourceview2' 'gtkspell' 'gnome-icon-theme')
+depends=('gmime' 'libwebkit' 'libesmtp' 'libnotify' 'gpgme' 'gtksourceview2' 'gtkspell' 'gnome-icon-theme')
makedepends=('perlxml' 'gnome-doc-utils' 'intltool' 'namcap')
install=balsa.install
source=(http://pawsa.fedorapeople.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD
index 9b5c83ac2..c84ee1806 100644
--- a/community/cegui/PKGBUILD
+++ b/community/cegui/PKGBUILD
@@ -1,39 +1,32 @@
-# $Id: PKGBUILD 37913 2011-01-19 01:10:11Z lcarlier $
-# Maintainer:
+# $Id: PKGBUILD 48542 2011-06-01 17:05:37Z stephane $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>,
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
pkgname=cegui
pkgver=0.7.5
-pkgrel=1
+pkgrel=4
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
#options=('!libtool')
license=("MIT")
depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
-makedepends=('python2')
+makedepends=('python2' 'doxygen')
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
md5sums=('38c79d1fdfaaa10f481c99a2ac479516')
build() {
cd $srcdir/CEGUI-${pkgver}
-
-# old configure from cegui-0.6.X, to remove later!
-# ./configure --prefix=/usr \
-# --sysconfdir=/etc \
-# --enable-devil \
-# --enable-silly \
-# --disable-xerces-c \
-# --with-default-image-codec=SILLYImageCodec \
-# --enable-lua
+
+ sed -i '1i#include <cstddef>' cegui/include/CEGUIString.h
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-xerces-c \
--enable-null-renderer
-make
+ make
}
package() {
@@ -41,6 +34,10 @@ package() {
make DESTDIR=${pkgdir} install
- install -D -m644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+ #build docs
+ cd doc/doxygen && doxygen
+ cd .. && make DESTDIR=${pkgdir} install-html
+
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/community/clementine/PKGBUILD b/community/clementine/PKGBUILD
index 4d0965bed..c9e9763d4 100644
--- a/community/clementine/PKGBUILD
+++ b/community/clementine/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 46607 2011-05-09 23:12:17Z stephane $
+# $Id: PKGBUILD 48537 2011-06-01 16:56:54Z stephane $
#Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
#Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
#Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
pkgname=clementine
pkgver=0.7.1
-pkgrel=3
+pkgrel=5
pkgdesc="A music player and library organizer"
url="http://www.clementine-player.org/"
license=('GPL')
diff --git a/community/csfml/PKGBUILD b/community/csfml/PKGBUILD
new file mode 100644
index 000000000..d0920b18d
--- /dev/null
+++ b/community/csfml/PKGBUILD
@@ -0,0 +1,60 @@
+# $Id: PKGBUILD 47932 2011-05-26 06:40:32Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=csfml
+
+_git=true
+
+if [[ "${_git}" = "true" ]]; then
+ pkgver=1.99.git20110526
+fi
+
+pkgrel=1
+pkgdesc='C bindings for sfml'
+arch=('i686' 'x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=('sfml')
+makedepends=('git' 'cmake' 'doxygen')
+
+_gitroot='https://github.com/LaurentGomila/SFML.git'
+_gitname='SFML'
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone $_gitroot
+ cd $_gitname
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ cd bindings/c/
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
+ -DBUILD_DOC=true
+ make
+ make doc
+}
+
+package() {
+ cd "$srcdir/$_gitname-build/bindings/c/build/"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 ../license.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+ make clean
+}
+
diff --git a/community/frogatto/PKGBUILD b/community/frogatto/PKGBUILD
index fb3b6553d..434ddd9fb 100644
--- a/community/frogatto/PKGBUILD
+++ b/community/frogatto/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 47675 2011-05-24 19:05:16Z svenstaro $
+# $Id: PKGBUILD 47897 2011-05-26 00:34:36Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Tom Wambold <tom5760@gmail.com>
pkgname='frogatto'
arch=('i686' 'x86_64')
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog"
url="http://www.frogatto.com"
license=('GPL')
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD
index 5a4b5206d..45dee93f7 100644
--- a/community/gambas3/PKGBUILD
+++ b/community/gambas3/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba
'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal'
'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web')
pkgver=2.99.1
-pkgrel=2
+pkgrel=3
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
url="http://gambas.sourceforge.net/"
diff --git a/community/gnome-packagekit/PKGBUILD b/community/gnome-packagekit/PKGBUILD
index 20c933ec7..390f39a73 100644
--- a/community/gnome-packagekit/PKGBUILD
+++ b/community/gnome-packagekit/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 48001 2011-05-26 23:17:43Z jconder $
+# $Id: PKGBUILD 48532 2011-06-01 14:10:40Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
pkgname=gnome-packagekit
-pkgver=3.0.2
+pkgver=3.0.3
pkgrel=1
pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop'
arch=('i686' 'x86_64')
@@ -10,13 +10,13 @@ url='http://www.packagekit.org/'
license=('GPL')
depends=('dconf' 'desktop-file-utils' 'gnome-menus' 'gtk3'
'hicolor-icon-theme' 'libnotify' 'packagekit')
-makedepends=('gconf' 'gtk-doc' 'gnome-common' 'intltool' 'libcanberra' 'upower')
+makedepends=('gconf' 'gtk-doc' 'intltool' 'libcanberra' 'upower')
optdepends=('gnome-settings-daemon-updates: update and message notifications')
options=('!emptydirs' '!libtool')
install="$pkgname.install"
-source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
'arch.patch')
-sha256sums=('faaae52d839a66d0bcb7d7cf97ef62d11bccf558e6aa9fdb0dbc8d61dbaf714f'
+sha256sums=('3042bb008548f70a98ff4d90da86ad7ddbdd2ec03c37daaf87b8e6341a03d211'
'9c809ac3c8bbf870442e7bc4123c70b144930a287b28626be1b8bae95edf71ac')
build() {
@@ -26,8 +26,7 @@ build() {
sed -i 's@python@python2@' 'python/enum-convertor.py'
export PYTHON=/usr/bin/python2
- # TODO: remove gnome-common dependency and switch back to configure
- gnome-autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-gtk-doc \
--disable-schemas-compile \
diff --git a/community/gource/PKGBUILD b/community/gource/PKGBUILD
index eaceceace..2c357a634 100644
--- a/community/gource/PKGBUILD
+++ b/community/gource/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 47420 2011-05-23 01:24:33Z svenstaro $
+# $Id: PKGBUILD 47914 2011-05-26 01:27:25Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>
# Contributor: Olivier Ramonat <olivier at ramonat dot fr>
pkgname=gource
pkgver=0.34
-pkgrel=1
+pkgrel=2
pkgdesc="software version control visualization"
license=(GPL3)
arch=(i686 x86_64)
diff --git a/community/lightspark/PKGBUILD b/community/lightspark/PKGBUILD
index 328e44a6a..d583b36bb 100644
--- a/community/lightspark/PKGBUILD
+++ b/community/lightspark/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=lightspark
pkgver=0.4.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='An alternative Flash Player for Linux.'
arch=('i686' 'x86_64')
url='http://lightspark.sourceforge.net'
diff --git a/community/performous/PKGBUILD b/community/performous/PKGBUILD
index 16518d9c9..01aab85d1 100644
--- a/community/performous/PKGBUILD
+++ b/community/performous/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 47641 2011-05-24 14:35:06Z tdziedzic $
+# $Id: PKGBUILD 47952 2011-05-26 11:21:56Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=performous
pkgver=0.6.1
-pkgrel=5
+pkgrel=6
pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
arch=('i686' 'x86_64')
url="http://performous.org/"
@@ -24,7 +24,7 @@ build() {
# fix config loading with libxml++
export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
- # fix to built against boost 1.46
+ # fix to built against boost 1.46, upstream (git) now support v3
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
cmake -DCMAKE_BUILD_TYPE=Release \
diff --git a/community/perl-digest-md5/PKGBUILD b/community/perl-digest-md5/PKGBUILD
index e813d9ea1..bb6d0bbd5 100644
--- a/community/perl-digest-md5/PKGBUILD
+++ b/community/perl-digest-md5/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 35628 2010-12-21 23:03:54Z tdziedzic $
+# $Id: PKGBUILD 48551 2011-06-01 19:52:59Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
pkgname=perl-digest-md5
-pkgver=2.40
-pkgrel=2
+pkgver=2.51
+pkgrel=1
pkgdesc="Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Digest-MD5"
@@ -12,16 +12,18 @@ license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD5-$pkgver.tar.gz)
-md5sums=('97051183c4ff7012bdeaf55881164f4b')
+md5sums=('73967d50b9d19990a1d609fe2b1e36c3')
build() {
cd "$srcdir/Digest-MD5-$pkgver"
-
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
- make install DESTDIR="$pkgdir/"
+}
+package() {
+ cd "$srcdir/Digest-MD5-$pkgver"
+ make install DESTDIR="$pkgdir/"
# remove perllocal.pod and .packlist
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
diff --git a/community/rawtherapee/PKGBUILD b/community/rawtherapee/PKGBUILD
index 63813738d..1de4c8f15 100644
--- a/community/rawtherapee/PKGBUILD
+++ b/community/rawtherapee/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 36068 2010-12-26 11:58:33Z stativ $
+# $Id: PKGBUILD 48519 2011-06-01 11:08:54Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky AT gmail.com>
# Contributor: Bogdan Szczurek <thebodzio(at)gmail.com>
# Contributor: Vaclav Kramar <vaclav.kramar@tiscali.cz>
# Contributor: Archie <mymaud@gmail.com>
pkgname=rawtherapee
-pkgver=3.0a1_742
+pkgver=3.1m5
pkgrel=1
pkgdesc="RAW photo editor"
arch=('i686' 'x86_64')
url="http://www.rawtherapee.com/"
license=('GPL')
-depends=('libsigc++' 'gtkmm' 'libiptcdata' 'lcms')
+depends=('bzip2' 'libsigc++' 'gtkmm' 'libiptcdata' 'lcms2' 'desktop-file-utils')
makedepends=('mercurial' 'cmake')
install=rawtherapee.install
source=(rawtherapee.desktop rawtherapee.png)
@@ -20,8 +20,8 @@ md5sums=('83f14b57b27f066705b0aec7ad56c53d'
_root="https://rawtherapee.googlecode.com/hg/"
_repo="rawtherapee"
-_branch="branch_3.0"
-_changeset="71045bfba97e" # changeset $pkgver
+#_branch="branch_3.0"
+#_changeset="71045bfba97e" # changeset $pkgver
build() {
cd "$srcdir"
@@ -30,10 +30,10 @@ build() {
if [ -d $_repo ] ; then
cd $_repo
hg pull
- hg up -r $_changeset
+ hg up "Dev-$pkgver"
msg "The local files are updated."
else
- hg clone -b $_branch -u $_changeset $_root $_repo
+ hg clone -u "Dev-$pkgver" $_root $_repo
fi
msg "Mercurial checkout done or server timeout"
@@ -45,7 +45,10 @@ build() {
mkdir "$srcdir/$_repo-build"
cd "$srcdir/$_repo-build"
- cmake -DCMAKE_INSTALL_PREFIX=/usr ../$_repo
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_MYFILE_MMAP=OFF \
+ ../$_repo
make
}
diff --git a/community/rawtherapee/rawtherapee.install b/community/rawtherapee/rawtherapee.install
index ccf3323ae..6162b34dd 100644
--- a/community/rawtherapee/rawtherapee.install
+++ b/community/rawtherapee/rawtherapee.install
@@ -1,24 +1,21 @@
-post_upgrade() {
-
-if [ ${2%%_*} == "3.0a1" ]; then
- TMP=${2##*_}
- TMP=${TMP%%-*}
+post_install() {
+ echo "update desktop mime database..."
+ update-desktop-database -q
+ update-mime-database usr/share/mime 1>&2 > /dev/null
+}
- if [ $TMP -lt 316 ]; then
- echo "Profile extension has changed from .pp2 to .pp3"
- echo -e "since rawtherapee-3.0a1_54-1\n"
- echo "If you used rawtherapee-3.0a1_54-1 or any earlier 3.0 version"
- echo "you have to change the extension manually.\n"
- echo "NOTE: pp2 profiles from rawtherapee 2.4 and older"
- echo "are not compatible."
- fi
+post_upgrade() {
+ post_install $1
- if [ $TMP -lt 589 ]; then
+ if [ ${2%%_*} == "3.0a1" ]; then
echo "There were lots of changes to the behavior of the majority of tools."
echo "This may cause your files to look differently than before."
fi
-fi
+}
+post_remove() {
+ post_install $1
}
+
# vim:set ts=2 sw=2 et:
diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD
index 2345ec8c1..4f46232cf 100644
--- a/community/root/PKGBUILD
+++ b/community/root/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=root
pkgver=5.28.00d
-pkgrel=1
+pkgrel=2
pkgdesc='C++ data analysis framework and interpreter from CERN.'
arch=('i686' 'x86_64')
url='http://root.cern.ch'
diff --git a/community/rss-glx/PKGBUILD b/community/rss-glx/PKGBUILD
index 84479622c..37c440cf4 100644
--- a/community/rss-glx/PKGBUILD
+++ b/community/rss-glx/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 20029 2010-07-01 19:03:57Z ibiru $
+# $Id: PKGBUILD 48037 2011-05-27 16:21:40Z spupykin $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Corrado 'bardo' Primier <corrado.primier@mail.polimi.it>
# Contributor: Tate "Tatey" Johnson <tatey86@tpg.com.au>
pkgname=rss-glx
pkgver=0.9.1
-pkgrel=5
+pkgrel=6
pkgdesc="The Really Slick Screensavers port to GLX"
arch=('i686' 'x86_64')
url="http://rss-glx.sourceforge.net/"
@@ -33,7 +33,7 @@ build() {
make CFLAGS="$CFLAGS -I/usr/include/ImageMagick"
make DESTDIR=${pkgdir} install
-#FS#18300
+ # FS#18300
install -d ${pkgdir}/usr/lib/xscreensaver/
list=$(ls ${pkgdir}/usr/bin --ignore rss-glx_install.pl)
for i in $list; do
@@ -43,5 +43,3 @@ build() {
install -d ${pkgdir}/usr/share/applications/screensavers
install -m644 ${srcdir}/${pkgname}-desktops/*.desktop ${pkgdir}/usr/share/applications/screensavers
}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/rss-glx/rss-glx.install b/community/rss-glx/rss-glx.install
index 3ffe7103c..758642618 100644
--- a/community/rss-glx/rss-glx.install
+++ b/community/rss-glx/rss-glx.install
@@ -10,4 +10,3 @@ EOM
post_remove() {
update-desktop-database -q
}
-
diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD
index 00f1d39c9..806e373d4 100644
--- a/community/sfml/PKGBUILD
+++ b/community/sfml/PKGBUILD
@@ -1,96 +1,60 @@
-# $Id: PKGBUILD 23743 2010-08-16 10:49:18Z svenstaro $
+# $Id: PKGBUILD 47923 2011-05-26 03:12:35Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: scj <scj archlinux us>
+# Contributor: Ondrej Martinak <omartinak@gmail.com>
pkgname=sfml
-pkgver=1.6
-pkgrel=3
-pkgdesc="A simple, fast, cross-platform and object-oriented multimedia API."
-arch=('i686' 'x86_64')
-url="http://www.sfml-dev.org"
-license=('custom:zlib')
-depends=('libxrandr' 'libsndfile' 'openal' 'glew' 'libjpeg' 'libpng' 'soil' 'zlib' 'freetype2')
-optdepends=('qt: build qt-sample' 'wxgtk: build wxwidgets-sample')
-install=sfml.install
-source=(http://downloads.sourceforge.net/${pkgname}/SFML-${pkgver}-sdk-linux-64.tar.gz
- use-system-libs.patch)
-md5sums=('7a9b3a1ef6d14cd25090e440ccdbb3a8'
- '505ea908fb6e4b9359061d8d55373963')
-build() {
- cd "${srcdir}/SFML-${pkgver}"
+_git=true
- # apply patch to use system libs in favor of included ones (fixes many problems)
- patch -Np1 < ../use-system-libs.patch
+if [[ "${_git}" = "true" ]]; then
+ pkgver=1.99.git20110526
+fi
- # compile sfml
- make
+pkgrel=1
+pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
+arch=('i686' 'x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2')
+makedepends=('git' 'mesa' 'cmake' 'doxygen')
- # prepare samples
- sed -e '/export LDFLAGS/d' -i samples/Makefile
+_gitroot='https://github.com/LaurentGomila/SFML.git'
+_gitname='SFML'
- #check optional dependencies
- if [ ! -e "/usr/bin/wx-config" ]; then
- sed -e 's/wxwidgets-sample //' -i samples/Makefile
- fi
- if [ ! -e "/usr/include/QtGui" ]; then
- sed -e 's/qt-sample //' -i samples/Makefile
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone $_gitroot
+ cd $_gitname
fi
- # fix some samples
- sed -e 's|qt4/||g' -i samples/qt/Makefile
- sed -e '/#include <iostream>/a\#include <stdlib.h>' -i \
- samples/sockets/Sockets.cpp \
- samples/voip/VoIP.cpp
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
- # fix the library softlinks for samples
- cd lib
- for lib in *; do
- ln -sf $lib ${lib/.${pkgver}/}
- done
- cd ..
+ rm -rf "$srcdir/$_gitname-build"
+ cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
- # compile samples
- LDFLAGS="-L${srcdir}/SFML-${pkgver}/lib" make sfml-samples
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
+ -DBUILD_DOC=true \
+ -DBUILD_EXAMPLES=true
+ make
+ make doc
}
package() {
- cd "${srcdir}/SFML-${pkgver}"
+ cd "$srcdir/$_gitname-build/build"
+ make DESTDIR="$pkgdir/" install
- # prepare some dirs
- mkdir -p ${pkgdir}/usr/lib \
- ${pkgdir}/usr/include \
- ${pkgdir}/usr/share/sfml \
- ${pkgdir}/usr/share/doc \
- ${pkgdir}/opt/SFML
+ install -Dm644 ../license.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- # install it
- sed '/export DESTDIR/d' -i src/SFML/Makefile
- make DESTDIR="${pkgdir}/usr" install
-
- # fix the library softlinks - again
- cd ${pkgdir}/usr/lib
- rm *.so
- for lib in *; do
- ln -s $lib ${lib/.${pkgver}/}
- done
- cd "${srcdir}/SFML-${pkgver}"
-
- # install samples
- cp -r samples ${pkgdir}/opt/SFML/samples
-
- # install docs
- cp -r doc ${pkgdir}/usr/share/doc/sfml
-
- # handy symlinks
- cd ${pkgdir}/usr/share/sfml
- ln -s ../../../opt/SFML/samples samples
- ln -s ../doc/sfml docs
-
- # install license
- install -Dm 644 ${srcdir}/SFML-${pkgver}/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # clean up
- find "${pkgdir}/opt/SFML/samples" -name "*.o" -delete
+ make clean
}
-# vim:set ts=2 sw=2 et:
+
diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD
index 5430aace6..38ce61979 100644
--- a/community/spring/PKGBUILD
+++ b/community/spring/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 47736 2011-05-25 04:13:58Z svenstaro $
+# $Id: PKGBUILD 47908 2011-05-26 01:20:52Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=spring
pkgver=0.82.7.1
-pkgrel=3
+pkgrel=4
pkgdesc='A free 3D real-time-strategy (RTS) game engine'
arch=('i686' 'x86_64')
url="http://springrts.com/"
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
index 48159914c..dbcd690af 100644
--- a/community/supertux/PKGBUILD
+++ b/community/supertux/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=supertux
pkgver=0.3.3
-pkgrel=2
+pkgrel=3
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
arch=('i686' 'x86_64')
url="http://super-tux.sourceforge.net/"
@@ -16,12 +16,15 @@ source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f3f803e629ee51a9de0b366a036e393d')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
- make || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
}
diff --git a/community/vdrift/PKGBUILD b/community/vdrift/PKGBUILD
index 39dae2cf6..41dab8d90 100644
--- a/community/vdrift/PKGBUILD
+++ b/community/vdrift/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 27647 2010-09-26 17:36:38Z svenstaro $
+# $Id: PKGBUILD 47904 2011-05-26 00:55:30Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Lone_Wolf lonewolf@xs4all.nl
pkgname=vdrift
pkgver=2010.06.30
-pkgrel=2
+pkgrel=3
pkgdesc="An open source driving simulation made with drift racing in mind"
arch=('i686' 'x86_64')
url="http://vdrift.net/"
diff --git a/community/widelands/PKGBUILD b/community/widelands/PKGBUILD
index e308f27bd..e2a882999 100644
--- a/community/widelands/PKGBUILD
+++ b/community/widelands/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 45158 2011-04-18 00:22:21Z svenstaro $
+# $Id: PKGBUILD 47900 2011-05-26 00:39:20Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <rabyte*gmail>
@@ -6,7 +6,7 @@
pkgname=widelands
pkgver=16
_realver=build16
-pkgrel=1
+pkgrel=2
pkgdesc="A realtime strategy game with emphasis on economy and transport"
arch=('i686' 'x86_64')
url="http://widelands.org/"