2018-03-11 21:39:07 +01:00
|
|
|
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
|
|
|
|
# Contributor: Jonas Heinrich <onny@project-insanity.org>
|
2018-03-11 11:14:36 +01:00
|
|
|
# Contributor: Timothée Ravier <tim@siosm.fr>
|
|
|
|
|
|
|
|
pkgname=mozilla-firefox-sync-server
|
|
|
|
pkgver=1.7.0
|
2018-03-11 21:39:07 +01:00
|
|
|
pkgrel=2
|
2018-03-11 11:14:36 +01:00
|
|
|
pkgdesc="Mozilla Sync Server for built-in Firefox Sync"
|
|
|
|
arch=('any')
|
|
|
|
url='http://docs.services.mozilla.com/howtos/run-sync-1.5.html'
|
|
|
|
license=('GPL')
|
2018-03-11 21:39:07 +01:00
|
|
|
depends=('python2' 'python2-pyramid' 'python2-mozsvc' 'python2-konfig' 'python2-configparser' 'python2-tokenserver'
|
|
|
|
'python2-simplejson' 'python2-paste-deploy' 'python2-syncstorage' 'python2-pyramid-hawkauth' 'python2-tokenlib')
|
2018-03-11 11:14:36 +01:00
|
|
|
install=${pkgname}.install
|
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mozilla-services/syncserver/archive/v${pkgver}.tar.gz"
|
|
|
|
'ffsync.service'
|
|
|
|
'ffsync.tmpfiles')
|
|
|
|
sha512sums=('c66aed1195138f15729ed7ef3fb31837bd74f751c0df4f93d0d6c3a8b34687d7dc02e201cfb6c218aab1d769698950ea316f688b51d90b87e8c495d573b85cc3'
|
|
|
|
'ccc56d118dce78aed3595577b489d984d1d697e6aa4cb9e2f30c7f16caaf2d2145d1e6bbabc737a867d5c5257cfa57ef0a031b11bc22c11b25523e7d889492d8'
|
|
|
|
'a06ac68b5379de3352369c998ef73d0ff4ef4517243e8f7856435ec21937b86af6f3b5c216cce585ea6b572043b313c70b76bd183e89ed5e48916ff209d2ac30')
|
2018-03-11 21:39:07 +01:00
|
|
|
backup=('usr/share/webapps/mozilla-firefox-sync-server/syncserver.ini')
|
2018-03-11 11:14:36 +01:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "syncserver-${pkgver}"
|
2018-03-11 21:39:07 +01:00
|
|
|
python2 setup.py install --root "${pkgdir}"
|
|
|
|
install -dm 755 "${pkgdir}/usr/share/webapps/mozilla-firefox-sync-server"
|
|
|
|
cp syncserver.ini syncserver.wsgi "${pkgdir}/usr/share/webapps/mozilla-firefox-sync-server/"
|
2018-03-11 11:14:36 +01:00
|
|
|
|
2018-03-11 21:39:07 +01:00
|
|
|
install -Dm 644 "${srcdir}/ffsync.service" "${pkgdir}/usr/lib/systemd/system/ffsync.service"
|
|
|
|
install -Dm 644 "${srcdir}/ffsync.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/ffsync.conf"
|
2018-03-11 11:14:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ft=sh syn=sh ts=2 sw=2 et:
|