summaryrefslogtreecommitdiff
path: root/community/csfml/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/csfml/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/csfml/PKGBUILD')
-rw-r--r--community/csfml/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/csfml/PKGBUILD b/community/csfml/PKGBUILD
new file mode 100644
index 000000000..e2c72a1a1
--- /dev/null
+++ b/community/csfml/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 21275 2010-07-15 20:18:37Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Arvil <arvil at k3v1n5 dot eu>
+
+pkgname=csfml
+pkgver=1.6
+pkgrel=1
+pkgdesc="C binding for SFML."
+arch=('i686' 'x86_64')
+url=http://www.sfml-dev.org
+license=('zlib')
+depends=('sfml')
+source=(http://downloads.sourceforge.net/sfml/SFML-$pkgver-c-sdk-linux-32.tar.gz)
+md5sums=('47612e9dc3c9be35e32c188dd937e0d6')
+
+build() {
+ cd "$srcdir/SFML-$pkgver/CSFML"
+
+ msg "Building libraries."
+ make || return 1
+ make DESTDIR=${pkgdir}/usr install || return 1
+
+ # Fix the library softlinks
+ cd "$pkgdir/usr/lib"
+ rm *.so
+ for lib in *; do
+ ln -s $lib ${lib/.$pkgver/}
+ done
+}
+# vim:set ts=2 sw=2 et: