summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 682448719e27df8c0bd4bf183db3a5d958858783 (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: Jeremy Audet <jerebear@protonmail.com>

pkgname=python-django-tables2
pkgver=2.3.4
pkgrel=2
pkgdesc='A module for rendering Django data sets as HTML tables.'
arch=(any)
url='https://github.com/jieter/django-tables2'
license=(MIT)
options=(!emptydirs)
depends=('python-django>=1.11')
makedepends=(python-setuptools)
optdepends=('python-tablib: to export table data as CSV, XLS, etc.')
source=("https://github.com/jieter/django-tables2/archive/v${pkgver}.tar.gz")
sha256sums=('16e9e65a0ceea49e262c41ec89b1fa804f9600ead7e180ea86124bc3c89f2556')

package() {
  cd "${srcdir}/django-tables2-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1
  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: