blob: f0e16f6dc70312125f6a87107e3e35da19678cef (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: fauno
# Based on the git version by
# Maintainer: Robert Štětka <robert dot stetka at gmail dot com>
pkgname=perspectives-server
pkgver=3.3.1
pkgrel=1
url='https://perspectives-project.org/'
pkgdesc='Perspectives notary server'
arch=('any')
license=('GPL3')
depends=('openssl' 'python2>=2.7' 'python2-m2crypto'
'python2-cherrypy' 'python2-sqlalchemy')
source=("libre://${pkgname}-${pkgver}.tar.gz"
perspectives-server.{conf,cron,service,install})
install="${pkgname}.install"
optdepends=('python2-psycopg2: for postgresql storage'
'memcache: for caching'
'redis: for caching')
mkdepends=('git')
mksource=("$pkgname-$pkgver::git+https://github.com/danwent/Perspectives-Server/#tag=v$pkgver")
mkmd5sums=('SKIP')
mksource() {
:
}
package() {
install -dm 750 ${pkgdir}/usr/share/webapps/${pkgname}
install -dm 750 ${pkgdir}/etc/webapps/${pkgname}
install -Dm 640 ${srcdir}/${pkgname}.conf \
${pkgdir}/etc/conf.d/${pkgname}.conf
install -Dm 755 ${srcdir}/${pkgname}.cron \
${pkgdir}/etc/cron.daily/${pkgname}
cp -av "$srcdir/$pkgname-$pkgver/"* \
"${pkgdir}/usr/share/webapps/${pkgname}/"
install -Dm 644 ${srcdir}/${pkgname}.service \
${pkgdir}/usr/lib/systemd/system/${pkgname}.service
}
# vim:set ts=2 sw=2 et:
md5sums=('2ac787ab4f4c77639c29df7ae5b16d16'
'a851e6fefbf883b695dea8920aa476bf'
'2343fe5f9756ffd7a70e39d04ba21d46'
'557218d32ef9ec92bb30aec19a54f730'
'57cea678130fe314f879e75a3420dd55')
md5sums=('2ac787ab4f4c77639c29df7ae5b16d16'
'00c42be9b00186cd660645a0cf20fa4b'
'2343fe5f9756ffd7a70e39d04ba21d46'
'870bf3020c73c02853cf1c0d1668d005'
'57cea678130fe314f879e75a3420dd55')
md5sums=('2ac787ab4f4c77639c29df7ae5b16d16'
'00c42be9b00186cd660645a0cf20fa4b'
'2343fe5f9756ffd7a70e39d04ba21d46'
'870bf3020c73c02853cf1c0d1668d005'
'7d51646e864e895d13a3eb682ebf78ec')
|