Commit 08599f63 authored by Leo's avatar Leo Committed by Francesco Colista

community/ajaxterm: modernize, fix license, add -openrc subpkg

parent dbdaeaad
......@@ -3,14 +3,14 @@
pkgname=ajaxterm
_pkgname=Ajaxterm
pkgver=0.11
pkgrel=0
pkgrel=1
_commit="2eaa3e989782d8259a12c8cb7d6204433ae19264"
pkgdesc="Simple AJAX Terminal"
url="https://github.com/antonylesuisse/qweb/tree/master/ajaxterm"
arch="noarch"
license="GPL"
license="GPL-2.0-or-later OR LGPL-2.1-or-later"
depends="python2"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://sources.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-${_commit}.tar.gz
ajaxterm-css.patch
ajaxterm.initd
......@@ -18,16 +18,11 @@ source="https://sources.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment