summaryrefslogtreecommitdiff
path: root/python2-wxutils/PKGBUILD
blob: ec7c80609d057841cb33ab8965e1ea22b8a9ebd4 (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
34
35
36
37
38
39
40
41
42
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python2-wxutils
pkgver=0.1.3
pkgrel=3
pkgdesc='A library of convenience functions for wxPython'
arch=('any')
url='https://pypi.python.org/pypi/wxutils/0.1.2'
license=('BSD')
groups=()
depends=(
  'python2>=2.7'
  'python2<2.8'
  'wxpython'
)
makedepends=(
  'python2-setuptools'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/c6/1a/08a6b96f1a39c9aa15d257dc45028bd4927b63e36b20a6b64707a72b94e1/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('c1d6dbb85721e3adcd33acf6fefbcbb49840678cf58ddf745b39725a9de3d2ccc2d438b313a4d776ca6ddb606655df0d77370af5b8474de9a7c7958da99108f8')

build() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py build

}

package() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr

}