blob: a30546106243b23c91f417f83d377090d1dd5918 (
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
|
# Contributor: Riadh Habbachi <habbachi.riadh at gmail dot com>
# Maintainer: Riadh Habbachi <habbachi.riadh at gmail dot com>
pkgname=butterfly-git
pkgver=VERSION
pkgrel=1
pkgdesc="Butterfly is a xterm compatible terminal that runs in your browser."
url="https://github.com/paradoxxxzero/butterfly"
arch=('any')
license=('GPL')
groups=()
depends=('python' 'python-tornado' 'python-pyopenssl' 'tornado_systemd' 'python-libsass')
makedepends=('python-setuptools' 'git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=(!emptydirs)
install=
source=("${pkgname%-*}"::"git://github.com/paradoxxxzero/butterfly.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm 0644 "${srcdir}/${pkgname%-git}/${pkgname%-git}.service" \
"$pkgdir/etc/systemd/system/${pkgname%-git}.service"
}
# vim:set ts=2 sw=2 et:
|