summaryrefslogtreecommitdiff
path: root/python2-wxutils/PKGBUILD
blob: 0f5f4b6f82138904cf1ed086be5582835cb6ef3a (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
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/86/43/304879e816c5c3a2328096f46027a44f4678b83962002be4e80330788258/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('68c300412fb2c9f337f4de0f2e85a540e85db7b5230dd8314f007d5e7fbb1d5ef28b7fec8bca8334f8406b7e0cd9f6ee3d36223bfd920c7099929b296c208825')

build() {

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

}

package() {

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

}