summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9fd4008d04918a23fdc2c6b802bf3642b4416388 (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
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgbase=pyqt5-purchasing
pkgname=(python-pyqt5-purchasing)
pkgver=5.15.6
pkgrel=1
pkgdesc='Python bindings for QtPurchasing'
arch=(x86_64)
url='https://www.riverbankcomputing.com/software/pyqtpurchasing/intro'
license=(GPL3)
groups=(pyqt5)
depends=(qt5-purchasing python-pyqt5)
makedepends=(sip pyqt-builder)
conflicts=(python-pyqtpurchasing)
provides=(python-pyqtpurchasing)
replaces=(python-pyqtpurchasing)
source=(https://pypi.python.org/packages/source/P/PyQtPurchasing/PyQtPurchasing-$pkgver.tar.gz)
sha256sums=('304b1ea3bfb6555202751220700d9a98d1de9eab464515dfccca96f306ddf00e')

build() {
  cd PyQtPurchasing-$pkgver
  sip-build \
    --no-make \
    --api-dir /usr/share/qt/qsci/api/python
  cd build
  make
}

package_python-pyqt5-purchasing() {
  cd PyQtPurchasing-$pkgver/build
  make INSTALL_ROOT="$pkgdir" install
}