1 # Maintainer: Eli Schwartz <eschwartz@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
8 pkgdesc="Python Xapp Library"
10 url="https://github.com/linuxmint/${_pkgname}"
12 depends=('python' 'python-psutil')
14 source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
15 sha512sums=('7c9afabbc810ffe878e831f7e1ff585ce49abc6d1db3d4ea70deb6630e2bb18f61ded31ae0e075cccae2283cac50b3440204a586f844ba9ee9cfbcb572bf7573')
18 meson build ${_pkgname}-${pkgver} \
20 meson compile -C build
24 meson install -C build --destdir="${pkgdir}"
26 # compile Python bytecode
27 python -m compileall -d / "$pkgdir"/usr/lib
28 python -O -m compileall -d / "$pkgdir"/usr/lib