From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/csfml/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 community/csfml/PKGBUILD (limited to 'community/csfml/PKGBUILD') 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 +# Contributor: Arvil + +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: -- cgit v1.2.3-54-g00ecf