27 lines
733 B
Bash
27 lines
733 B
Bash
# Template file for 'python-xdg'
|
|
pkgname=python-xdg
|
|
version=0.26
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="pyxdg-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python python3"
|
|
makedepends="$hostmakedepends"
|
|
depends="python"
|
|
pycompile_module="xdg"
|
|
short_desc="Python2 library to access freedesktop.org standards"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://freedesktop.org/Software/pyxdg"
|
|
distfiles="${PYPI_SITE}/p/pyxdg/pyxdg-${version}.tar.gz"
|
|
checksum=fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06
|
|
|
|
python3-xdg_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="xdg"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|