upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / comtool / trunk / PKGBUILD
blob7f22490fee39d0aeb0636ab817347ab870e191c9
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=comtool
4 pkgver=2.1.0
5 pkgrel=2
6 pkgdesc="A cross platform serial debug tools written by python"
7 arch=('any')
8 url="https://github.com/Neutree/COMTool"
9 license=('LGPL')
10 depends=('python-pyqt5' 'python-pyserial' 'python-requests' 'python-babel')
11 makedepends=('python-setuptools')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/Neutree/COMTool/archive/v$pkgver.tar.gz")
13 sha512sums=('6d9f65edd5fcccb9e1efa87a46a441b0d6ffb934b176e61a4df1750e3c84f846c2101507ff182606356de48e8967ea507f258174f7ca26836951d4e724290e27')
15 prepare() {
16   cd COMTool-$pkgver
17   sed -i "s/'pyqt5>=5',//" setup.py
20 build() {
21   cd COMTool-$pkgver
22   python setup.py build
25 package() {
26   cd COMTool-$pkgver
27   python setup.py install -O1 --prefix=/usr --root="$pkgdir"
29   rm "$pkgdir"/usr/{LICENSE,README.MD}
32 # vim:set ts=2 sw=2 et: