diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-08-13 22:31:04 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-08-13 22:31:04 (GMT) |
commit | 7c242e44e6422be3d4cfffaaaa18cb78634762cb (patch) | |
tree | 43c0bc9e5d27532e52fa8416df3f0da8ec106f28 /abs/extra/shellinabox/PKGBUILD | |
parent | eff28c03b7a81e9ee37cfd6dd9284deefd1b5622 (diff) | |
download | linhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.zip linhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.tar.gz linhes_pkgbuild-7c242e44e6422be3d4cfffaaaa18cb78634762cb.tar.bz2 |
shellinabox: initial inclusion
Diffstat (limited to 'abs/extra/shellinabox/PKGBUILD')
-rw-r--r-- | abs/extra/shellinabox/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/shellinabox/PKGBUILD b/abs/extra/shellinabox/PKGBUILD new file mode 100644 index 0000000..6032aff --- /dev/null +++ b/abs/extra/shellinabox/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: Brian Moore <archlinux@cptl.org> +pkgname=shellinabox +pkgver=2.14 +pkgrel=3 +pkgdesc="A web-based ssh client." +arch=('i686' 'x86_64') +url="http://shellinabox.com/" +license=('GPL2') +depends=('runit-scripts>=8.0-2') +optdepends=('openssh: SSL support') +makedepends=(openssh) +install=shellinaboxd.install +backup=('etc/conf.d/shellinaboxd') +source=("http://shellinabox.googlecode.com/files/$pkgname-$pkgver.tar.gz" "shellinaboxd.rc.d" "shellinaboxd.conf.d" "shellinaboxd.service") +md5sums=('6c63b52edcebc56ee73a108e7211d174' + 'feea22575089cc7eb4925b1daff88b8c' + '77e487f36da2abe51251500f4a1e024f' + 'be649866d06ba497d88bb14f3e58f862') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + + make +} +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR=$pkgdir install || return 1 + + install -Dm755 $srcdir/shellinaboxd.rc.d $pkgdir/etc/rc.d/shellinaboxd + install -D -m644 $srcdir/shellinaboxd.service $pkgdir/usr/lib/systemd/system/shellinaboxd.service + install -Dm644 $srcdir/shellinaboxd.conf.d $pkgdir/etc/conf.d/shellinaboxd + install -dm700 -o nobody $pkgdir/var/lib/shellinabox +} |