File PKGBUILD of Package infinitrix
pkgname=infinitrix
pkgver=1.0.2
pkgrel=3
pkgdesc="An open source Bitrix24 messenger client, written in Python, PyQt5 and PyQtWebEngine"
arch=("x86_64" "aarch64")
url="https://github.com/smallcms/infinitrix"
license=('MIT')
groups=('Applications/Internet')
source=("https://github.com/smallcms/infinitrix/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP') # Replace 'SKIP' with actual sha256sum after downloading and checking it with `sha256sum`
makedepends=('python-setuptools') # Setuptools required for building the package
depends=('python-pyqt5' 'python-pyqtwebengine')
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}