# Maintainer: Jonas Heinrich # Contributor: Jonas Heinrich # Contributor: Timothée Ravier pkgname=mozilla-firefox-sync-server pkgver=1.7.0 pkgrel=2 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') depends=('python2' 'python2-pyramid' 'python2-mozsvc' 'python2-konfig' 'python2-configparser' 'python2-tokenserver' 'python2-simplejson' 'python2-paste-deploy' 'python2-syncstorage' 'python2-pyramid-hawkauth' 'python2-tokenlib') 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') backup=('usr/share/webapps/mozilla-firefox-sync-server/syncserver.ini') package() { cd "syncserver-${pkgver}" 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/" 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" } # vim: ft=sh syn=sh ts=2 sw=2 et: