#Maintainer: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=pyxdg
pkgver=0.26
pkgrel=1dj
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "pkg-info")
url=http://www.freedesktop.org/wiki/Software/pyxdg

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"pyxdg (a python library to access freedesktop.org standards)"
"PyXDG currently supports:"
""
"  * Base Directory Specification Version 0.6"
"  * Menu Specification Version 1.0-draft1"
"  * Desktop Entry Specification Version 0.9.4"
"  * Icon Theme Specification Version 0.8"
"  * Recent File Spec 0.2"
"  * Shared-MIME-Database Specification 0.13"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	
	python setup.py install --root=$startdir/pkg --install-platlib=/usr/lib${LIBDIRSUFFIX} || exit 1
	python3 setup.py install --root=$startdir/pkg --install-platlib=/usr/lib${LIBDIRSUFFIX} || exit 1
} 
