28 lines
729 B
Bash
28 lines
729 B
Bash
# Template file for 'python-xdg'
|
|
pkgname=python-xdg
|
|
version=0.26
|
|
revision=1
|
|
noarch=yes
|
|
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="Juan RP <xtraeme@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() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="xdg"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|