summaryrefslogtreecommitdiff
path: root/community-testing/sfml
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
commite1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch)
tree38fecdc19b201d4d28df13c22e9b3b45bb469e4b /community-testing/sfml
parentd286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff)
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'community-testing/sfml')
-rw-r--r--community-testing/sfml/PKGBUILD61
-rw-r--r--community-testing/sfml/sfml.install3
2 files changed, 0 insertions, 64 deletions
diff --git a/community-testing/sfml/PKGBUILD b/community-testing/sfml/PKGBUILD
deleted file mode 100644
index 20a5bd87c..000000000
--- a/community-testing/sfml/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 55707 2011-09-17 21:15:53Z stephane $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Ondrej Martinak <omartinak@gmail.com>
-
-pkgname=sfml
-
-_git=true
-
-if [[ "${_git}" = "true" ]]; then
- pkgver=1.99.git20110917
-fi
-
-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')
-install=sfml.install
-
-_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"
-
- mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
- -DBUILD_DOC=true \
- -DBUILD_EXAMPLES=true
- make
- make doc
-}
-
-package() {
- cd "$srcdir/$_gitname-build/build"
- make DESTDIR="$pkgdir/" install
-
- install -Dm644 ../license.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
- make clean
-}
-
diff --git a/community-testing/sfml/sfml.install b/community-testing/sfml/sfml.install
deleted file mode 100644
index 75f760be6..000000000
--- a/community-testing/sfml/sfml.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_install() {
- echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run them individually"
-}