blob: 59ba6b763db22caccf8d746476f18a8f90a3bca9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Sean Greenslade <aur AT seangreenslade DOT com>
_pkgname=weave-minimal
pkgname=$_pkgname-git
pkgver=1.5.r9.g96996ac
pkgrel=1
pkgdesc="minimal weave 1.1 server for Pale Moon sync"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/zootboy/weave-minimal"
license=('custom')
depends=('python' 'python-werkzeug')
#makedepends=('python2')
optdepends=('python-gevent: better concurrency support')
provides=('weave-minimal')
conflicts=('weave-minimal')
backup=('etc/weave-minimal.conf')
source=("git+https://github.com/zootboy/weave-minimal" "99-weave-var.conf")
install=$_pkgname.install
sha256sums=('SKIP'
'f18a5abb7daf3c41d535a53132db1fbb43642214565055f1381fc086b1a65cdc')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
}
build() {
cd "$_pkgname"
python setup.py build
}
package() {
cd "$_pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
install -Dm644 $srcdir/$_pkgname/examples/weave-minimal.conf "$pkgdir/etc/weave-minimal.conf"
install -Dm644 $srcdir/$_pkgname/examples/weave-minimal.service "$pkgdir/usr/lib/systemd/system/weave-minimal.service"
install -Dm644 "$srcdir/99-weave-var.conf" "$pkgdir/usr/lib/tmpfiles.d/99-weave-var.conf"
python setup.py install --root="$pkgdir"
}
# vim:set ts=2 sw=2 et:
|