diff options
author | mdraw | 2017-07-07 10:52:48 +0200 |
---|---|---|
committer | mdraw | 2017-07-07 10:52:48 +0200 |
commit | 23e5ab044d87198e3a1e1efdb455b183b2e2b503 (patch) | |
tree | 61612f5177b360c9d5ae74b137041428fc6b51a9 | |
download | aur-23e5ab044d87198e3a1e1efdb455b183b2e2b503.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..153a03e01ccf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Fri Jul 7 08:52:31 UTC 2017 +pkgbase = csvtotable + pkgdesc = Simple command-line utility to convert CSV files to searchable and sortable HTML table + pkgver = 1.1.0 + pkgrel = 0 + url = https://github.com/vividvilla/csvtotable + arch = any + license = MIT + makedepends = python2-setuptools + depends = python2 + depends = python2-click + depends = python2-jinja + depends = python2-unicodecsv + depends = python2-six + conflicts = csvtotable-git + source = https://github.com/vividvilla/csvtotable/archive/1.1.0.tar.gz + sha256sums = b3adbf058f6b9edc31e0e1fa99000bccbfbc65c3ebc53c53ed7ee7fb38bbabc8 + +pkgname = csvtotable + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f8bdb2e2e9cb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: mdraw.gh@gmail.com + +# This is currently based on Python 2 because of the hard dependency on +# unicodecsv. Once this is resolved, I will migrate it to Python 3. + +pkgname=csvtotable +pkgver=1.1.0 +pkgrel=0 +pkgdesc='Simple command-line utility to convert CSV files to searchable and sortable HTML table' +url='https://github.com/vividvilla/csvtotable' +license=('MIT') +arch=('any') +depends=('python2' 'python2-click' 'python2-jinja' + 'python2-unicodecsv' 'python2-six') +makedepends=('python2-setuptools') +conflicts=('csvtotable-git') +source=("https://github.com/vividvilla/csvtotable/archive/${pkgver}.tar.gz") +sha256sums=('b3adbf058f6b9edc31e0e1fa99000bccbfbc65c3ebc53c53ed7ee7fb38bbabc8') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} + |