summaryrefslogtreecommitdiff
path: root/community/csfml
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/csfml
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/csfml')
-rw-r--r--community/csfml/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/csfml/PKGBUILD b/community/csfml/PKGBUILD
new file mode 100644
index 000000000..4ed6778c8
--- /dev/null
+++ b/community/csfml/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 88191 2013-04-13 15:25:43Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=csfml
+pkgver=2.0
+pkgrel=1
+pkgdesc='C bindings for sfml'
+arch=('i686' 'x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=("sfml=${pkgver}")
+makedepends=('cmake' 'doxygen')
+source=("csfml-${pkgver}::https://github.com/LaurentGomila/CSFML/archive/2.0.tar.gz")
+md5sums=('d609c9e3b115d480d8c61911d774472c')
+
+build() {
+ cd "$srcdir"/CSFML-${pkgver}
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_DOC=true
+ make
+ make doc
+}
+
+package() {
+ cd "$srcdir"/CSFML-${pkgver}/build
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+