aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-05 02:59:57 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-06-05 06:34:50 +0000
commit08599f63ab18c0fd7e500cc85ae962367f0722c8 (patch)
treee04430e13705140349f20d97dc925dd69458d79d
parentdbdaeaad74dff281cb9edefaf54a71c8a8b96d0c (diff)
downloadaports-08599f63ab18c0fd7e500cc85ae962367f0722c8.tar.gz
aports-08599f63ab18c0fd7e500cc85ae962367f0722c8.tar.bz2
aports-08599f63ab18c0fd7e500cc85ae962367f0722c8.tar.xz
community/ajaxterm: modernize, fix license, add -openrc subpkg
-rw-r--r--community/ajaxterm/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/ajaxterm/APKBUILD b/community/ajaxterm/APKBUILD
index 7b2e3d1556..583074b3a1 100644
--- a/community/ajaxterm/APKBUILD
+++ b/community/ajaxterm/APKBUILD
@@ -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