summaryrefslogtreecommitdiff
path: root/python2-wxutils/PKGBUILD
blob: d6d493a1616931a7b1216d3de634bd9cbfcf1b88 (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.2.2
pkgrel=1
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/b5/5e/89531e5a5340eb14795b84ebaa885c04cbc978650b8b7e883463b9524deb/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('235c350c0b138b2b31c842e684a478e409c0787faf1a50a90a1a48d4023e77923ad370144a159df1ff6326f28b06c7f73d8ccc04ceee0b96588d5f7eaeaec360')

build() {

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

}

package() {

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

}