diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-09 20:11:45 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-09 20:11:45 -0300 |
commit | 4be5309ee3989d582faad90f46c934352eff82f0 (patch) | |
tree | 83ec48649316520026ea12f46fd7b501ac6bde31 /pcr/perspectives-server/PKGBUILD | |
parent | a563eee81e9abd42251117d8cd74738e23e0fe70 (diff) |
Perspectives Server
Diffstat (limited to 'pcr/perspectives-server/PKGBUILD')
-rw-r--r-- | pcr/perspectives-server/PKGBUILD | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/pcr/perspectives-server/PKGBUILD b/pcr/perspectives-server/PKGBUILD new file mode 100644 index 000000000..f0e16f6dc --- /dev/null +++ b/pcr/perspectives-server/PKGBUILD @@ -0,0 +1,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') |