summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-28 00:01:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-28 00:01:40 -0400
commit95124024bc5988bf5d8d71004fc35aa16c4ebe5f (patch)
treebed9484f1cde99fddb2f78e1dfc320dce3ae31eb
parentbf6f62481559bf5e657ba20c15e786fb6210d460 (diff)
downloadabslibre-95124024bc5988bf5d8d71004fc35aa16c4ebe5f.tar.gz
abslibre-95124024bc5988bf5d8d71004fc35aa16c4ebe5f.tar.bz2
abslibre-95124024bc5988bf5d8d71004fc35aa16c4ebe5f.zip
add pcr/python-efl
-rw-r--r--pcr/python-efl/PKGBUILD46
1 files changed, 21 insertions, 25 deletions
diff --git a/pcr/python-efl/PKGBUILD b/pcr/python-efl/PKGBUILD
index e67489ad2..afca9af03 100644
--- a/pcr/python-efl/PKGBUILD
+++ b/pcr/python-efl/PKGBUILD
@@ -1,33 +1,29 @@
-# Maintainer (Arch): Doug Newgard <scimmia22 at outlook dot com>
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=(python{,2}-efl)
+pkgver=1.10.0
+pkgdesc="Python bindings for the Enlightenment Foundataion Libraries"
+url="http://www.enlightenment.org"
+license=('LGPL3') # Also contains a copy of GPL3, but grep the source files; it's all LGPL
-_python=python
-pkgname=$_python-efl
-_pkgname=python-efl
-pkgver=1.8.1
pkgrel=1
-pkgdesc="$_python bindings for the Enlightenment Foundataion Libraries"
arch=('i686' 'x86_64')
-url="http://www.enlightenment.org"
-license=('LGPL3' 'GPL3')
-depends=('elementary' "$_python-dbus")
-provides=("$_python-ecore" "$_python-edje" "$_python-elementary" "$_python-emotion" "$_python-evas" "$_python-e_dbus")
-conflicts=("$_python-ecore" "$_python-edje" "$_python-elementary" "$_python-emotion" "$_python-evas" "$_python-e_dbus")
-source=("http://download.enlightenment.org/rel/bindings/python/$_pkgname-$pkgver.tar.bz2")
-sha1sums=('82b34b9336d517537b2a4032dff9d1e2de8b8dd8')
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
+makedepends=(elementary python{,2}-dbus)
+source=("http://download.enlightenment.org/rel/bindings/python/$pkgname-$pkgver.tar.bz2")
+sha1sums=('ff94c3796348dd70545b59660d9d1cc67c1cb849')
- $_python setup.py build
+package_python-efl() {
+ depends=(elementary python-dbus)
+ cd "$srcdir/$pkgbase-$pkgver"
+ rm -rf build
+ python setup.py install --root="$pkgdir" --optimize=1
}
-package() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- $_python setup.py install --root="$pkgdir"
-
-# install text files
- install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
- install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
- install -Dm644 changes.html "$pkgdir/usr/share/doc/$pkgname/changes.html"
+package_python2-efl() {
+ depends=(elementary python2-dbus)
+ cd "$srcdir/$pkgbase-$pkgver"
+ rm -rf build
+ python2 setup.py install --root="$pkgdir" --optimize=1
}