blob: 7e783043ed8cb7b8b7504a36e68f7600edd7c40b (
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
39
40
|
# Maintainer: Application-Maker <Application-Maker.Uinwad@erine.email>
# Contributor: Jenya Sovetkin <e dot sovetkin at gmail dot com>
# Contributor: @xnor
# Contributor: @nicolasvila
# Contributor: @xer01ne
pkgname=shellinabox-git
pkgver=r431.4f0ecc3
pkgrel=2
pkgdesc="Implementation of a web server that can export arbitrary command line tools to a web based terminal emulator"
arch=('any')
url="https://github.com/shellinabox/shellinabox"
license=('GPL2')
depends=('pam' 'openssl')
makedepends=('git' 'gcc' 'autoconf' 'automake')
backup=('usr/lib/systemd/system/shellinabox.service')
source=('shellinabox.service'
'git+https://github.com/shellinabox/shellinabox')
md5sums=('68a3c15b359151eea27432142a80207a'
'SKIP')
_gitname=shellinabox
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_gitname}"
autoreconf -i
./configure --prefix=/usr LDFLAGS="-lssl -lcrypto"
make
}
package() {
cd "${srcdir}/${_gitname}"
make DESTDIR="$pkgdir/" install
install -Dm644 "${srcdir}/shellinabox.service" "${pkgdir}/usr/lib/systemd/system/shellinabox.service"
}
|