summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f68edef9a4eefaf5b1ea871d74bb9ab65bd90d9 (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
26
# Maintainer: acxz <akashpatel2008 at yahoo dot com>

pkgname=python-querystring-parser
pkgver=1.2.4
pkgrel=1
pkgdesc='Creates nested dictionaries from sent form/querystring data'
arch=('x86_64')
url='https://github.com/bernii/querystring-parser'
license=('MIT')
depends=('python' 'python-six')
optdepends=()
makedepends=('python' 'python-setuptools')
source=("$pkgname-$pkgver::https://github.com/bernii/querystring-parser/archive/$pkgver.tar.gz")
sha256sums=('854a3586d59baf63dfc4e38f76ae320f6a14bb8529a3e2c6552b27471a7a4855')

_pkgname=querystring-parser

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py build
}

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