PKGBUILDs/community/ajaxterm/PKGBUILD

30 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 2327 2009-09-16 10:08:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Eric Le Bras <eric.lebras@gmail.com>
pkgname=ajaxterm
pkgver=0.10
pkgrel=3
pkgdesc="A web based terminal"
arch=('any')
license=('GPL')
url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
depends=('python')
source=(http://antony.lesuisse.org/software/ajaxterm/files/Ajaxterm-$pkgver.tar.gz
ajaxterm)
md5sums=('b10830a7a81d2a4c9f8815510dafb87a' 'a9c5ae6bb4bacf26ca2b728559311be5')
build() {
cd ${startdir}/src/Ajaxterm-${pkgver}
./configure --prefix=/usr
install -d ${startdir}/pkg/etc/rc.d
install -d ${startdir}/pkg/usr/bin
install -d ${startdir}/pkg/usr/share/man/man1
install -d ${startdir}/pkg/usr/share/ajaxterm
install ajaxterm.bin ${startdir}/pkg/usr/bin/ajaxterm
install -m 0755 ${startdir}/src/ajaxterm ${startdir}/pkg/etc/rc.d || return 1
install -m 0644 ajaxterm.css ajaxterm.html ajaxterm.js qweb.py sarissa.js sarissa_dhtml.js ${startdir}/pkg/usr/share/ajaxterm || return 1
install -m 0755 ajaxterm.py ${startdir}/pkg/usr/share/ajaxterm || return 1
install -m 0644 ajaxterm.1 ${startdir}/pkg/usr/share/man/man1 || return 1
}