2018-03-12 13:59:30 +11:00
|
|
|
# Description: Python library to access freedesktop.org standards.
|
|
|
|
# URL: http://freedesktop.org/wiki/Software/pyxdg
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-10-20 11:56:27 +00:00
|
|
|
# Depends on: python3-setuptools
|
2018-03-12 13:59:30 +11:00
|
|
|
|
|
|
|
name=python3-pyxdg
|
2022-06-19 13:07:18 +02:00
|
|
|
version=0.28
|
2018-03-12 13:59:30 +11:00
|
|
|
release=1
|
2018-04-03 23:32:56 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
2018-03-12 13:59:30 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
}
|