summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69b3fca2c6d4fc8cb35ec21d30d07323c74e02d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Storm Dragon <stormdragon2976@gmail.com> 

pkgname=python2-xml2dict
pkgver=0.2.2
pkgrel=1
pkgdesc="Python xml to dict parser."
arch=('any')
url="https://pypi.python.org/pypi/XML2Dict/"
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/X/XML2Dict/XML2Dict-0.2.2.tar.gz")
md5sums=('f984278d77902145ca483d87a892a67f') 

build() {
  cd "${srcdir}/XML2Dict-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${srcdir}/XML2Dict-${pkgver}"
  python2 setup.py install --root="${pkgdir}/" --optimize=1
}