summaryrefslogtreecommitdiff
path: root/community/sfml
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-13 00:05:58 -0700
committerroot <root@rshg054.dnsready.net>2013-04-13 00:05:58 -0700
commit8f0418e4a239ba973834592537b474d3aac52d5b (patch)
tree55787459ba85dcd3ea548b37ca4027ef993c28b5 /community/sfml
parentd976aa5e1544c80dc2457ea20b27f28f3fa05899 (diff)
Sat Apr 13 00:05:58 PDT 2013
Diffstat (limited to 'community/sfml')
-rw-r--r--community/sfml/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD
index 8856014b4..2cd8af622 100644
--- a/community/sfml/PKGBUILD
+++ b/community/sfml/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78941 2012-10-27 23:45:33Z ebelanger $
+# $Id: PKGBUILD 88118 2013-04-12 07:50:02Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Ondrej Martinak <omartinak@gmail.com>
pkgname=sfml
-pkgver=2.0rc1
-pkgrel=3
+pkgver=2.0
+pkgrel=1
pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
arch=('i686' 'x86_64')
url='http://www.sfml-dev.org/'
@@ -12,22 +12,23 @@ license=('zlib')
depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2')
makedepends=('mesa' 'cmake' 'doxygen')
install=sfml.install
-source=("2.0-rc.tar.gz::https://github.com/LaurentGomila/SFML/tarball/2.0-rc")
-md5sums=('03c8e6817f4525092b94a3d44e8eada8')
+source=("https://github.com/LaurentGomila/SFML/archive/2.0.tar.gz")
+md5sums=('294fd8563a319e06f68bbca0eedc905e')
build() {
- cd "$srcdir"/Laurent*
+ cd "$srcdir"/SFML-${pkgver}
mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
- -DBUILD_DOC=true \
- -DBUILD_EXAMPLES=true
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSFML_BUILD_EXAMPLES=true \
+ -DSFML_BUILD_DOC=true
make
make doc
}
package() {
- cd "$srcdir"/Laurent*/build
+ cd "$srcdir"/SFML-${pkgver}/build
make DESTDIR="$pkgdir/" install