blob: b3a3e75c32d349b19f936c0d539d5a1f3ccaf919 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-livereload
pkgver=2.4.1
pkgrel=0
pkgdesc="livereload server in python"
url="https://github.com/lepture/python-livereload"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="python-livereload-$pkgver.tar.gz::https://github.com/lepture/python-livereload/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/python-livereload-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="d6125f3dce2ef000ca50b3121eb2de81 python-livereload-2.4.1.tar.gz"
sha256sums="8a29fe9c869181f8e1617c2e32d6a3bf896d7da20267dc682150e7c98d230b55 python-livereload-2.4.1.tar.gz"
sha512sums="9106fe1894092ab336270f539be41d4db2d277560a41898e45014e34783ab0b601c993a5a5831c951d313db98ea835aecc8eb31468ba186e243a28df75bfe9bb python-livereload-2.4.1.tar.gz"
|