26 lines
680 B
Bash
26 lines
680 B
Bash
|
# Template file for 'python-xapp'
|
||
|
pkgname=python-xapp
|
||
|
version=1.0.1
|
||
|
revision=1
|
||
|
build_style=python-module
|
||
|
pycompile_module="xapp"
|
||
|
hostmakedepends="python python3"
|
||
|
depends="python python-psutil"
|
||
|
short_desc="Python2 Xapp Library"
|
||
|
maintainer="John <johnz@posteo.net>"
|
||
|
license="LGPL-2"
|
||
|
homepage="https://github.com/linuxmint/python-xapp"
|
||
|
distfiles="https://github.com/linuxmint/python-xapp/archive/1.0.1.tar.gz"
|
||
|
checksum=da2ec46dc3fce97accd0ee6d9bd9d71d26c953b01de1a5336ba2b4b60f2f3b6b
|
||
|
noarch=yes
|
||
|
|
||
|
python3-xapp_package() {
|
||
|
noarch=yes
|
||
|
depends="python3 python3-psutil"
|
||
|
pycompile_module="xapp"
|
||
|
short_desc="${short_desc/Python2/Python3}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3*
|
||
|
}
|
||
|
}
|