From 95124024bc5988bf5d8d71004fc35aa16c4ebe5f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 28 Jul 2014 00:01:40 -0400 Subject: add pcr/python-efl --- pcr/python-efl/PKGBUILD | 46 +++++++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 25 deletions(-) (limited to 'pcr/python-efl/PKGBUILD') 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 +# Maintainer: Luke Shumaker +# Maintainer (AUR): Doug Newgard + +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 } -- cgit v1.2.3