summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd070b13492dae35116ade2d1944c9d64eb24753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: kpcyrd <git@rxv.cc>
# Contributor: Jose Riha <jose1711 gmail com>

pkgname=python2-dicttoxml
pkgver=1.7.4
pkgrel=2
pkgdesc="Converts a Python dictionary or other native data type into a valid XML string."
url="https://github.com/quandyfactory/dicttoxml"
depends=('python2')
license=('GPL')
arch=('any')
source=("https://pypi.python.org/packages/74/36/534db111db9e7610a41641a1f6669a964aacaf51858f466de264cc8dcdd9/dicttoxml-${pkgver}.tar.gz")
sha256sums=('ea44cc4ec6c0f85098c57a431a1ee891b3549347b07b7414c8a24611ecf37e45')

build() {
  cd dicttoxml-${pkgver}
  python2 setup.py build
}

package() {
  cd dicttoxml-${pkgver}
  python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
}

# vim: ts=2 sw=2 et: