blob: bd111b7e456aa6992b23f99b96a918049464e363 (
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
33
34
35
|
# Maintainer: HLFH <gaspard@dhautefeuille.eu>
pkgname=isso
pkgver=0.13.1.dev0
pkgrel=1
pkgdesc="A commenting python server similar to Disqus"
arch=('any')
url="http://posativ.org/isso/"
license=('MIT')
depends=('python-bleach' 'python-jinja' 'python-werkzeug' 'python-html5lib' 'python-misaka' 'python-itsdangerous' 'python-flask-caching' 'python-cffi' 'sqlite' 'python-setuptools')
makedepends=('git' 'python')
backup=('etc/isso.cfg')
source=("isso-${pkgver}-pypi.tar.gz::https://files.pythonhosted.org/packages/source/i/isso/isso-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/posativ/isso/master/LICENSE"
"isso.service")
install=$pkgname.install
b2sums=('413d1d4e1a81afb3667fe6832e599c9cb60e28e2f4a550b75dd3105b8e924508f7c8c4e784f41d315d210eb7e62924a5799a2fcfc9365b828be1f0f5add28f48'
'05677ab5ac31698a973cbe8b125f47474d5fcc53d353c38401ea7c3569b920b149faf751c37819cb955da1c1e1633ae7286d7c908435b926f0ee4b7f257ddffc'
'4013a58fec845440adc42c7890d7825ab6fb5b54883adb591257913582cbcb04807845eea14665b9493463a58370f8dc70d071ed31c87c9a8d17249c6755fb45')
validpgpkeys=("7757B21C0C6E5AE4BC6F6462FD1BA15E0E87FE5C")
package() {
cd "${srcdir}"
# License
install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
msg "Starting build..."
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
# ... systemd
install -D -m 644 "${srcdir}/isso.service" "${pkgdir}/usr/lib/systemd/system/isso.service"
# ... common config
install -D -m 644 "${srcdir}/${pkgname}-${pkgver}/isso/isso.cfg" "${pkgdir}/etc/isso.cfg"
}
# vim:set ts=2 sw=2 et:
|