upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-xlwt / repos / community-any / PKGBUILD
blob03083406b6a72ebebc584da60bbd9f5438173d09
1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # Contributor: Aaron DeVore <aaron.devore@gmail.com>
3 # Contributor: David Moore <davidm@sjsoft.com>
5 pkgname='python-xlwt'
6 pkgver=1.3.0
7 pkgrel=7
8 pkgdesc="Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files"
9 arch=('any')
10 url="http://www.python-excel.org/"
11 license=('BSD')
12 depends=('python')
13 makedepends=('python-setuptools')
14 source=("https://github.com/python-excel/xlwt/archive/${pkgver}.tar.gz")
15 sha256sums=('1961682c6a3cedb44e6a96ff6ed099d80af8da9a669dbbbc1d1959e8398122d6')
17 build() {
18   cd "$srcdir"/xlwt-${pkgver}
19   python setup.py build
22 package() {
23   cd "$srcdir"/xlwt-${pkgver}
24   python setup.py install --skip-build --root="$pkgdir" --optimize=1
25   install -Dm644 docs/licenses.rst "$pkgdir/usr/share/licenses/$pkgname/licences.rst"