[arch-commits] Commit in python-sfml/repos (4 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Fri Jun 7 14:56:19 UTC 2013


    Date: Friday, June 7, 2013 @ 16:56:19
  Author: svenstaro
Revision: 92513

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python-sfml/repos/community-i686/
  python-sfml/repos/community-i686/PKGBUILD
    (from rev 92512, python-sfml/trunk/PKGBUILD)
  python-sfml/repos/community-x86_64/
  python-sfml/repos/community-x86_64/PKGBUILD
    (from rev 92512, python-sfml/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   27 +++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   27 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

Copied: python-sfml/repos/community-i686/PKGBUILD (from rev 92512, python-sfml/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-06-07 14:56:19 UTC (rev 92513)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=python-sfml
+pkgver=1.3
+pkgrel=1
+pkgdesc="The unofficial Python binding for SFML"
+arch=('i686' 'x86_64')
+url="http://python-sfml.org"
+license=('LGPL')
+depends=('sfml' 'python')
+makedepends=('cython' 'git')
+source=("git://github.com/Sonkun/python-sfml.git#tag=v${pkgver}")
+md5sums=("SKIP") 
+
+build() {
+	cd "$srcdir"/python-sfml
+
+	python setup.py build_ext
+}
+
+package() {
+	cd "$srcdir"/python-sfml
+
+	python setup.py install --root="${pkgdir}" --prefix=/usr
+
+	# Copying the License file
+	install -D -m644 "$srcdir/python-sfml/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: python-sfml/repos/community-x86_64/PKGBUILD (from rev 92512, python-sfml/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-06-07 14:56:19 UTC (rev 92513)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=python-sfml
+pkgver=1.3
+pkgrel=1
+pkgdesc="The unofficial Python binding for SFML"
+arch=('i686' 'x86_64')
+url="http://python-sfml.org"
+license=('LGPL')
+depends=('sfml' 'python')
+makedepends=('cython' 'git')
+source=("git://github.com/Sonkun/python-sfml.git#tag=v${pkgver}")
+md5sums=("SKIP") 
+
+build() {
+	cd "$srcdir"/python-sfml
+
+	python setup.py build_ext
+}
+
+package() {
+	cd "$srcdir"/python-sfml
+
+	python setup.py install --root="${pkgdir}" --prefix=/usr
+
+	# Copying the License file
+	install -D -m644 "$srcdir/python-sfml/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list