summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 12813108d9d1c150ab36a49de88847afc3fdcd8d (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: Yigit Sever <yigit at yigitsever dot com>
pkgname=python-jstyleson
_name=${pkgname#python-}
pkgver=0.0.2
pkgrel=1
pkgdesc="Library to parse JSON with js-style comments."
arch=('any')
url="https://pypi.org/project/jstyleson/"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('680003f3b15a2959e4e6a351f3b858e3c07dd3e073a0d54954e34d8ea5e1308e')

build() {
  cd "${_name}-${pkgver}"
	python setup.py build
}

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