summaryrefslogtreecommitdiff
path: root/pcr/python-efl/PKGBUILD
blob: d805e49caec79816f610009e95fcdd3f8064aec9 (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
30
31
32
33
# Maintainer: Doug Newgard <scimmia22 at outlook dot com>

_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"

  $_python setup.py build
}

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"
}