diff options
Diffstat (limited to 'pcr/python2-pysfml2-git/PKGBUILD')
-rw-r--r-- | pcr/python2-pysfml2-git/PKGBUILD | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/pcr/python2-pysfml2-git/PKGBUILD b/pcr/python2-pysfml2-git/PKGBUILD deleted file mode 100644 index 6bd8e759c..000000000 --- a/pcr/python2-pysfml2-git/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer: Philippe Huerlimann <phihue@gmail.com> -pkgname=python2-pysfml2-git -pkgver=20120804 -pkgrel=1 -pkgdesc="A Python 2 binding for SFML 2, written with Cython." -arch=('i686' 'x86_64') -url="http://pysfml2-cython.readthedocs.org/" -license=('BSD') -depends=('sfml-git' 'python2') -makedepends=('cython2' 'git') -source=() -md5sums=() -_gitroot='https://github.com/bastienleonard/pysfml2-cython.git' -_gitname='pysfml2-cython' - -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 $_gitname - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - python2 setup.py build -} - -package() { - cd "$srcdir/$_gitname-build" - python2 setup.py install --root="${pkgdir}" --prefix=/usr - - # Copying the examples - cp -R examples "${pkgdir}/usr/lib/python2.7/site-packages/pysfml" - - # Copying the License file - install -D -m644 "$srcdir/$_gitname-build/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # Fixing permissions - chmod 644 "${pkgdir}"/usr/lib/python2.7/site-packages/sfml.so -} |