# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=ajaxterm _pkgname=Ajaxterm pkgver=0.11 pkgrel=0 _commit="2eaa3e989782d8259a12c8cb7d6204433ae19264" pkgdesc="Simple AJAX Terminal" url="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm" arch="noarch" license="GPL" depends="python2" subpackages="$pkgname-doc" source="https://sources.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-${_commit}.tar.gz ajaxterm-css.patch ajaxterm.initd ajaxterm.confd" builddir="$srcdir"/$pkgname-${_commit:0:7} check() { cd "$builddir" } 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 } sha512sums="8498100fc4ca8b669f96280b7fefaec7b0224914fa56915c80b059a38e0de03b0303b6ce93364fea6e702691e0c1607e9f6fd9892633ad469930be04c5b30022 ajaxterm-0.11-2eaa3e989782d8259a12c8cb7d6204433ae19264.tar.gz 9b5adf129cafdcfa9d7b4027480d22b06e3a0486039458fb213b8d8104d7bfc9ed3886cf8d13f594c6afe9255cda5dcba3102330ab383d4efe556510d6937f11 ajaxterm-css.patch be3dff846e906c3ac181ce017d546a4eb27aff6f8774c948fbcc2dc90012ceda26ec75318c17c5e0fe59fcb5e0d570e08c8ac800d7fa0d6ab068dcd348353661 ajaxterm.initd da8fe66f8e1eefb8748d94431394ecc6d5c0c48910242fcb9b3619f91418443cb995a2d7c8025918fc6b3c01f471a701ce50c29225bccc75ebb451c332801743 ajaxterm.confd"