summaryrefslogtreecommitdiff
path: root/pcr/python2-elementary/PKGBUILD
blob: 9372e94457d1caa732f9756a72f2ec42827518af (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: Doug Newgard <scimmia22 at outlook dot com>

pkgname=python2-elementary
_pkgname=python-elementary
pkgver=1.7.0
pkgrel=1
pkgdesc="Python2 bindings for Elementary"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('LGPL2.1')
depends=('elementary' 'python2-evas')
makedepends=('cython2')
options=('!libtool' '!emptydirs')
source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
md5sums=('38c8b2ac508ab4e1d12f1557a12169c9')

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  PYTHON=/usr/bin/python2 \
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}