blob: 8aef66ecbe6eb5c2ccc90f6eae1b47c1280d74ea (
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
27
28
29
30
31
32
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
set -u
_pybase='csv2odf'
_pyver="python"
_pyverother='python python2 '
_pyverother=(${_pyverother//${_pyver} /})
pkgname="${_pyver}-${_pybase}"
pkgver='2.09'
pkgrel='1'
pkgdesc='convert CSV to formatted spreadsheets and documents'
arch=('any')
url="https://sourceforge.net/projects/${_pybase}"
license=('MIT')
_pydepends=("${_pyver}-wcwidth>=0.1.0")
makedepends=("${_pyver}" "${_pyver}-distribute") # same as python-setuptools
_srcdir="${_pybase}-${pkgver}"
_verwatch=("${url}/files/" "\s\+${_pybase}-\([0-9\.]\+\)</a></th>.*" 'f')
source=("${url}/files/${_pybase}-${pkgver}/${_pybase}-${pkgver}.tar.gz")
sha256sums=('f7943891960f2b71bd17efc75fae4dc47a06810b018aab7e93f925e495f38026')
package() {
set -u
depends=("${_pyver}") # "${_pydepends[@]}")
conflicts=("${_pyverother[@]/%/-${_pybase}}")
cd "${_srcdir}"
${_pyver} setup.py install --root="${pkgdir}"
install -Dpm644 'doc/license' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
set +u
}
set +u
# vim:set ts=2 sw=2 et:
|