summaryrefslogtreecommitdiff
path: root/community/sfml
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
commitf06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (patch)
tree4bef4a67030f8ef621aaeeb16cc8d7f313c9eb67 /community/sfml
parentcaa3e47071c8516ac31afaa0b654f5aaa4911939 (diff)
Sun Apr 15 00:01:28 UTC 2012
Diffstat (limited to 'community/sfml')
-rw-r--r--community/sfml/PKGBUILD37
1 files changed, 7 insertions, 30 deletions
diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD
index 070110d74..9d7659488 100644
--- a/community/sfml/PKGBUILD
+++ b/community/sfml/PKGBUILD
@@ -1,45 +1,22 @@
-# $Id: PKGBUILD 68697 2012-03-31 21:54:47Z svenstaro $
+# $Id: PKGBUILD 69315 2012-04-13 15:58:59Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Ondrej Martinak <omartinak@gmail.com>
pkgname=sfml
-
-_git=true
-
-if [[ "${_git}" = "true" ]]; then
- pkgver=1.99.git20120331
-fi
-
+pkgver=2.0rc1
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')
+makedepends=('mesa' 'cmake' 'doxygen')
install=sfml.install
-
-_gitroot='https://github.com/LaurentGomila/SFML.git'
-_gitname='SFML'
+source=("2.0-rc.tar.gz::https://github.com/LaurentGomila/SFML/tarball/2.0-rc")
+md5sums=('03c8e6817f4525092b94a3d44e8eada8')
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 "$srcdir"/Laurent*
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
@@ -50,7 +27,7 @@ build() {
}
package() {
- cd "$srcdir/$_gitname-build/build"
+ cd "$srcdir"/Laurent*/build
make DESTDIR="$pkgdir/" install