summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e5c5361d54838cd4b49dbfcfff2390fa36145cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=python-anyqt
pkgver=0.1.0
pkgrel=1
pkgdesc="PyQt4/PyQt5 compatibility layer"
url="https://github.com/ales-erjavec/anyqt"
arch=(any)
license=('GPL3')
makedepends=('python-setuptools')
depends=('python-pyqt5')
source=("https://pypi.io/packages/source/A/AnyQt/AnyQt-${pkgver}.tar.gz")
sha256sums=('aa261a28c3da6e7d9cee16fab209343b272b9f7ab39ad42ae02dc1687834c402')

build() {
    cd AnyQt-$pkgver
    python setup.py build
}

package() {
    cd AnyQt-$pkgver
    python setup.py install --skip-build --root="${pkgdir}" --optimize=1
}

# vim: set ts=4 sw=4 et: