summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 306f887ddac9bcf7c029f7501a5dfe1a64019a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname='python-luadata'
pkgver=1.0.5
pkgrel=1
pkgdesc="Serialize/unserialise between Python lists/dictionaries and Lua tables"
arch=('any')
license=('BSD')
url='https://github.com/leafvmaple/luadata'
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/leafvmaple/luadata/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('173e8a750a120f6459f1741a43552e01d53c2d5a694b9dd0cec4749c308a6cf0')

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

package() {
  cd luadata-${pkgver}
  python setup.py install --root="$pkgdir/" --optimize=1
  install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}