summaryrefslogtreecommitdiffstats
path: root/testing/ajaxterm/APKBUILD
blob: 7c2c71726f316134c50be1cfc0a3a5be965ec91c (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ajaxterm
_pkgname=Ajaxterm
pkgver=0.10
pkgrel=2
pkgdesc="Simple AJAX Terminal"
url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
arch="noarch"
license="GPL"
depends=
depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://archlinux-stuff.googlecode.com/files/$_pkgname-$pkgver.tar.gz
	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
07ef889cef762418bb1d8f24a257430d  ajaxterm.initd
c6784d7cb27acea4dd8cb00724643027  ajaxterm.confd"