diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-06 14:37:09 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-06 14:37:09 +0000 |
commit | c81b3455112a3b09a8341fc8c45a91bd92c15a12 (patch) | |
tree | 93c34f7cbae7441700884513f0e5ebcec9c5f512 /community-testing/csfml | |
parent | 3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff) |
Mon Jun 6 14:37:05 UTC 2011
Diffstat (limited to 'community-testing/csfml')
-rw-r--r-- | community-testing/csfml/PKGBUILD | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/community-testing/csfml/PKGBUILD b/community-testing/csfml/PKGBUILD deleted file mode 100644 index d0920b18d..000000000 --- a/community-testing/csfml/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# $Id: PKGBUILD 47932 2011-05-26 06:40:32Z svenstaro $ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> - -pkgname=csfml - -_git=true - -if [[ "${_git}" = "true" ]]; then - pkgver=1.99.git20110526 -fi - -pkgrel=1 -pkgdesc='C bindings for sfml' -arch=('i686' 'x86_64') -url='http://www.sfml-dev.org/' -license=('zlib') -depends=('sfml') -makedepends=('git' 'cmake' 'doxygen') - -_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" - - cd bindings/c/ - mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ - -DBUILD_DOC=true - make - make doc -} - -package() { - cd "$srcdir/$_gitname-build/bindings/c/build/" - - make DESTDIR="$pkgdir/" install - - install -Dm644 ../license.txt \ - ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - make clean -} - |