aboutsummaryrefslogtreecommitdiffstats
path: root/community/ajaxterm/APKBUILD
blob: 7840f9dfebd543f6293adcb93625f38def28db62 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ajaxterm
_pkgname=Ajaxterm
pkgver=0.10
pkgrel=3
pkgdesc="Simple AJAX Terminal"
url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
arch="noarch"
license="GPL"
depends="python2"
install=""
subpackages="$pkgname-doc"
source="http://archlinux-stuff.googlecode.com/files/$_pkgname-$pkgver.tar.gz
	ajaxterm-css.patch
	ajaxterm.initd
	ajaxterm.confd"
	
builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$builddir"
	./configure --prefix=/usr
}
package() {
	cd "$builddir"
	mkdir -p $pkgdir/usr/bin
	mkdir -p $pkgdir/usr/share/ajaxterm
	install -m 0755 ajaxterm.bin $pkgdir/usr/bin/ajaxterm
	install -D -m 0755 $srcdir/ajaxterm.initd $pkgdir/etc/init.d/ajaxterm
	install -D -m 0755 $srcdir/ajaxterm.confd $pkgdir/etc/conf.d/ajaxterm
	install -m 0644 ajaxterm.css ajaxterm.html qweb.py *.js $pkgdir/usr/share/ajaxterm
	install -m 0755 ajaxterm.py $pkgdir/usr/share/ajaxterm
	install -D -m 0644 ajaxterm.1 $pkgdir/usr/share/man/man1
}
md5sums="b10830a7a81d2a4c9f8815510dafb87a  Ajaxterm-0.10.tar.gz
937516cfdd2b7219a548b2660eed1adf  ajaxterm-css.patch
201b766a95dce5456f6ef6cc40622cab  ajaxterm.initd
c6784d7cb27acea4dd8cb00724643027  ajaxterm.confd"
sha256sums="71a1dcfd731e56985348b263c16b0506c1c1bda148fb3093db776c42f58a969c  Ajaxterm-0.10.tar.gz
f008d4c339badf7f02c9ca40cf6edd2fccdaf0bac1754bf0e478bbcdff51838d  ajaxterm-css.patch
592f308d8fe89ef084bf1b70ef9771dceb377db244f4758f9a0e5bce76d79633  ajaxterm.initd
7898742279cbe458b68159fdb777f46d9c6e9b5098eb4eea8808ce9387627403  ajaxterm.confd"
sha512sums="6e95feaf59aad55ef70aab784a95c7656d17ac7b410f9fc95c064364e2f36e4495eb1eba91f9efda6aba69ac2d771751c646699f245f4a3cdfd822b61e016395  Ajaxterm-0.10.tar.gz
9b5adf129cafdcfa9d7b4027480d22b06e3a0486039458fb213b8d8104d7bfc9ed3886cf8d13f594c6afe9255cda5dcba3102330ab383d4efe556510d6937f11  ajaxterm-css.patch
be3dff846e906c3ac181ce017d546a4eb27aff6f8774c948fbcc2dc90012ceda26ec75318c17c5e0fe59fcb5e0d570e08c8ac800d7fa0d6ab068dcd348353661  ajaxterm.initd
da8fe66f8e1eefb8748d94431394ecc6d5c0c48910242fcb9b3619f91418443cb995a2d7c8025918fc6b3c01f471a701ce50c29225bccc75ebb451c332801743  ajaxterm.confd"