summaryrefslogtreecommitdiff
path: root/community/sfml/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-13 09:30:32 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-13 09:30:32 +0200
commitb2b3a3e5241f31d00189615d3a86d5e0efd2ca25 (patch)
tree38cbc9ae8f219a9a921732d6132b50ba57ba7dab /community/sfml/PKGBUILD
parenta4a706ff05afab9bb61870c0049aedb23072cec1 (diff)
parent8f0418e4a239ba973834592537b474d3aac52d5b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/fcitx-mozc/PKGBUILD core/libcap/PKGBUILD extra/ncmpc/PKGBUILD extra/php/PKGBUILD extra/sqlite/PKGBUILD libre/hplip-libre/PKGBUILD libre/icecat/PKGBUILD
Diffstat (limited to 'community/sfml/PKGBUILD')
-rw-r--r--community/sfml/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD
index 7e0e90621..08bd35335 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' 'mips64el')
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