diff options
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | wemux-restrict.install | 3 |
4 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0cba1548dc0f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Mon May 2 05:22:41 UTC 2016 +pkgbase = wemux-restrict + pkgdesc = Multi-user Tmux with whitelist support + pkgver = 3.2.1 + pkgrel = 1 + url = http://github.com/oshazard/wemux + install = wemux-restrict.install + arch = any + license = MIT + makedepends = git + depends = tmux + depends = lsof + depends = openssh + provides = wemux + conflicts = wemux + conflicts = wemux-git + backup = etc/wemux/wemux.conf + source = https://github.com/oshazard/wemux/archive/master.tar.gz + md5sums = fc1b5c5f6ddd2b0c1a1ef5d28e6de342 + +pkgname = wemux-restrict + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9881fec21af4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..29974b481231 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: hazard <oshazard+aur@gmail.com> +pkgname=wemux-restrict +pkgver=3.2.1 +pkgrel=1 +pkgdesc="Multi-user Tmux with whitelist support" +url="http://github.com/oshazard/wemux" +license=('MIT') +arch=('any') +makedepends=('git') +depends=('tmux' 'lsof' 'openssh') +provides=('wemux') +conflicts=('wemux' 'wemux-git') +install=$pkgname.install +backup=('etc/wemux/wemux.conf') +source=("https://github.com/oshazard/wemux/archive/master.tar.gz") +md5sums=('fc1b5c5f6ddd2b0c1a1ef5d28e6de342') + +package() { + cd "${srcdir}/wemux-master" + + # Install script + mkdir -p "$pkgdir/usr/bin" + install -m755 wemux "$pkgdir/usr/bin/wemux" + + # Install config file + mkdir -p "$pkgdir/etc/wemux" + install -Dm644 wemux.conf.example $pkgdir/etc/wemux/wemux.conf + + #install manpage + mkdir -p "$pkgdir/usr/share/man/man1" + install -Dm644 man/wemux.1 $pkgdir/usr/share/man/man1/wemux.1 + + # Install license + mkdir -p "$pkgdir/usr/share/licenses/wemux" + install -m644 MIT-LICENSE ${pkgdir}/usr/share/licenses/wemux/LICENSE +} diff --git a/wemux-restrict.install b/wemux-restrict.install new file mode 100644 index 000000000000..ceae1ba930a7 --- /dev/null +++ b/wemux-restrict.install @@ -0,0 +1,3 @@ +post_install() { + echo "==> Must add host user(s) to /etc/wemux/wemux.conf" +} |