summaryrefslogtreecommitdiff
path: root/pcr/python-efl/PKGBUILD
blob: afca9af0305f6518b2dced3babbf80083a22599a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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

pkgrel=1
arch=('i686' 'x86_64')

makedepends=(elementary python{,2}-dbus)
source=("http://download.enlightenment.org/rel/bindings/python/$pkgname-$pkgver.tar.bz2")
sha1sums=('ff94c3796348dd70545b59660d9d1cc67c1cb849')

package_python-efl() {
  depends=(elementary python-dbus)
  cd "$srcdir/$pkgbase-$pkgver"
  rm -rf build
  python setup.py install --root="$pkgdir" --optimize=1
}

package_python2-efl() {
  depends=(elementary python2-dbus)
  cd "$srcdir/$pkgbase-$pkgver"
  rm -rf build
  python2 setup.py install --root="$pkgdir" --optimize=1
}