25 lines
706 B
Bash
25 lines
706 B
Bash
# Template file for 'python-xdg'
|
|
pkgname=python-xdg
|
|
version=0.26
|
|
revision=3
|
|
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() {
|
|
depends="python3"
|
|
pycompile_module="xdg"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|