arch-packages/PKGBUILD

26 lines
1.2 KiB
Text
Raw Normal View History

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 22:23:16 +01:00
pkgrel=4
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'
2018-03-11 21:47:10 +01:00
'python2-simplejson' 'python2-paste-deploy' 'python2-syncstorage' 'python2-pyramid-hawkauth' 'python2-tokenlib' 'python2-sqlalchemy')
2018-03-11 22:23:16 +01:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mozilla-services/syncserver/archive/v${pkgver}.tar.gz")
sha512sums=('c66aed1195138f15729ed7ef3fb31837bd74f751c0df4f93d0d6c3a8b34687d7dc02e201cfb6c218aab1d769698950ea316f688b51d90b87e8c495d573b85cc3')
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
}
# vim: ft=sh syn=sh ts=2 sw=2 et: