Date: Friday, April 7, 2023 @ 04:31:39
Author: felixonmars
Revision: 1440535
archrelease: copy trunk to community-staging-any
Added:
python-xapp/repos/community-staging-any/
python-xapp/repos/community-staging-any/PKGBUILD
(from rev 1440532, python-xapp/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-xapp/repos/community-staging-any/PKGBUILD (from rev 1440532,
python-xapp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 04:31:39 UTC (rev 1440535)
@@ -0,0 +1,29 @@
+# Maintainer: Eli Schwartz <[email protected]>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=python3-xapp
+pkgname=python-xapp
+pkgver=2.4.0
+pkgrel=2
+pkgdesc="Python Xapp Library"
+arch=('any')
+url="https://github.com/linuxmint/${_pkgname}"
+license=('LGPL')
+depends=('python' 'python-psutil')
+makedepends=('meson')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha512sums=('7c9afabbc810ffe878e831f7e1ff585ce49abc6d1db3d4ea70deb6630e2bb18f61ded31ae0e075cccae2283cac50b3440204a586f844ba9ee9cfbcb572bf7573')
+
+build(){
+ meson build ${_pkgname}-${pkgver} \
+ --prefix=/usr
+ meson compile -C build
+}
+
+package() {
+ meson install -C build --destdir="${pkgdir}"
+
+ # compile Python bytecode
+ python -m compileall -d / "$pkgdir"/usr/lib
+ python -O -m compileall -d / "$pkgdir"/usr/lib
+}