summaryrefslogtreecommitdiff
path: root/pcr/perspectives-server
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-20 08:21:04 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-20 08:48:44 -0400
commit1470c2c47c1cf7d2876576f13fac36d4eb23b236 (patch)
tree700dc011bf4cef0611c4a8284ab2abd9aa093323 /pcr/perspectives-server
parentd82001ada129dc2a16ff5671496dafdaef70415e (diff)
downloadabslibre-1470c2c47c1cf7d2876576f13fac36d4eb23b236.tar.gz
abslibre-1470c2c47c1cf7d2876576f13fac36d4eb23b236.tar.bz2
abslibre-1470c2c47c1cf7d2876576f13fac36d4eb23b236.zip
[perspectives-server]: upgrade to v3.5
Diffstat (limited to 'pcr/perspectives-server')
-rw-r--r--pcr/perspectives-server/PKGBUILD58
1 files changed, 23 insertions, 35 deletions
diff --git a/pcr/perspectives-server/PKGBUILD b/pcr/perspectives-server/PKGBUILD
index b1f25afca..9a93fffdb 100644
--- a/pcr/perspectives-server/PKGBUILD
+++ b/pcr/perspectives-server/PKGBUILD
@@ -1,51 +1,39 @@
-# Maintainer: fauno
-# Based on the git version by
-# Maintainer: Robert Štětka <robert dot stetka at gmail dot com>
+# Maintainer (upstream): Robert Štětka <robert dot stetka at gmail dot com>
+# Contributor: fauno <fauno@parabola.nu>
+# Contrbutor: bill-auger <bill-auger@programmer.net>
+
+
pkgname=perspectives-server
-pkgver=3.4.1
+_srcname=Perspectives-Server
+pkgver=3.5
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=("https://repo.parabola.nu/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+depends=(openssl python2-m2crypto python2-cherrypy python2-sqlalchemy)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/danwent/${_srcname}/archive/v${pkgver}.tar.gz
perspectives-server.{conf,cron,service,install})
install="${pkgname}.install"
optdepends=('python2-psycopg2: for postgresql storage'
'memcache: for caching'
'redis: for caching')
-md5sums=('d83a2a254951f4bb710860bafdd16351'
- '00c42be9b00186cd660645a0cf20fa4b'
- '2343fe5f9756ffd7a70e39d04ba21d46'
- '870bf3020c73c02853cf1c0d1668d005'
- '7d51646e864e895d13a3eb682ebf78ec')
-
-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}
+sha256sums=('7e967bee534e116bffb0f66df4a8d13f47046612105f633315e127889324d12c'
+ '1bf40daec1696be0b99afe436e2a399eecfb4746ad35244e5afc9681198062cf'
+ '8406f3e80cd7a12e1cf0e39c3dc81c347168cb75e810ca227f49e082a382059b'
+ '4162936154c5dc66a3498966140d040cf8ccca4b9746e11b2c6886e99218b3c5'
+ 'bf8aec21870fb110864cc0f4e80676d051481c864dc5e518f17d91524b9cedc6')
- install -Dm 640 ${srcdir}/${pkgname}.conf \
- ${pkgdir}/etc/conf.d/${pkgname}.conf
- install -Dm 755 ${srcdir}/${pkgname}.cron \
- ${pkgdir}/etc/cron.daily/${pkgname}
+package()
+{
+ cd "${srcdir}"/
- cp -av "$srcdir/$pkgname-$pkgver/"* \
- "${pkgdir}/usr/share/webapps/${pkgname}/"
+ install -dm 750 "${pkgdir}"/usr/share/webapps/${pkgname}
+ install -dm 750 "${pkgdir}"/etc/webapps/${pkgname}
- install -Dm 644 ${srcdir}/${pkgname}.service \
- ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+ install -Dm 640 ${pkgname}.conf "${pkgdir}"/etc/conf.d/${pkgname}.conf
+ install -Dm 755 ${pkgname}.cron "${pkgdir}"/etc/cron.daily/${pkgname}
+ install -Dm 644 ${pkgname}.service "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
+ cp -av ${_srcname}-${pkgver}/* "${pkgdir}"/usr/share/webapps/${pkgname}/
}
-
-
-# vim:set ts=2 sw=2 et: