summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hgignore1
-rw-r--r--pcr/python-sfml2/PKGBUILD37
-rw-r--r--pcr/python2-sfml2/PKGBUILD40
3 files changed, 1 insertions, 77 deletions
diff --git a/.hgignore b/.hgignore
index d882633e0..248e3a4e3 100644
--- a/.hgignore
+++ b/.hgignore
@@ -10,3 +10,4 @@ pkg/
*.src.tar.*
*.log
*.gz
+*.tar.* \ No newline at end of file
diff --git a/pcr/python-sfml2/PKGBUILD b/pcr/python-sfml2/PKGBUILD
deleted file mode 100644
index 41df1a9d0..000000000
--- a/pcr/python-sfml2/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python-sfml2
-pkgver=1.2
-pkgrel=0
-pkgdesc="Python 3 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://openhelbreath.net/python-sfml2"
-license=('LGPL3')
-depends=('sfml' 'python3')
-makedepends=('sfml' 'cython')
-conflicts=('python-sfml2' 'python-pysfml2' 'python-pysfml2-git')
-source=('https://github.com/Sonkun/python-sfml/archive/v1.2.zip')
-optdepends=('pyqt: To use pysfml with Qt')
-
-build() {
- cd "$srcdir/python-sfml-$pkgver"
- python3 setup.py build
-}
-
-package() {
- cd "$srcdir/python-sfml-$pkgver"
- python3 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- install -d -m755 "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples"
- cp -R examples/ "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples/"
- # fixing permission problems
- find "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples/" -iname "*.*" -exec chmod 644 {} +;
-
- # Copying the License file
- LICENSEFILE="${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- if [ ! -e $LICENSEFILE ]
- then
- install -D -m644 "$srcdir/python-sfml-$pkgver/COPYING" $LICENSEFILE
- fi
-}
-sha256sums=('24bf5c29eed525f4e81a43c1700ae37f6582e653fcb7f58ee41144b8cf46ce29')
diff --git a/pcr/python2-sfml2/PKGBUILD b/pcr/python2-sfml2/PKGBUILD
deleted file mode 100644
index ed5249a25..000000000
--- a/pcr/python2-sfml2/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python2-sfml2
-pkgver=master
-pkgrel=0
-pkgdesc="Python 2 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://python-sfml.org"
-license=('LGPL3')
-depends=('sfml' 'python2')
-makedepends=('sfml' 'cython2')
-conflicts=('python2-pysfml2' 'python2-pysfml2-git' 'python2-sfml2')
-source=('https://github.com/Sonkun/python-sfml/archive/master.zip')
-optdepends=('pyqt-common: To use pysfml with Qt')
-
-build() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples"
-
- cp -R examples/spacial_music "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/pyqt4 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/sound "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
-
- find "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/" -iname "*.*" -exec chmod 644 {} +;
-
- # Copying the License file
- LICENSEFILE="${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- if [ ! -e $LICENSEFILE ]
- then
- install -D -m644 "$srcdir/python-sfml-$pkgver/COPYING" $LICENSEFILE
- fi
-}
-sha256sums=('01bb4a07c3100807163cd2ddcb1208794b1dbac19706eabea430e23fbf00414b')