summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvkill2016-03-27 00:35:11 +0800
committervkill2016-03-27 00:35:11 +0800
commitd0526bd7a72d08c6ce41366b3c56a481386fc880 (patch)
treeda0ac74a3008410e1026e622a4275a0b5124a001
downloadaur-tmate-git.tar.gz
build 2.2.0
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f2d58fdf057
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = tmate-git
+ pkgdesc = Instant Terminal Sharing http://tmate.io/
+ pkgver = 2.2.0
+ pkgrel = 1
+ url = http://tmate.io/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = cmake
+ makedepends = libevent
+ makedepends = ncurses
+ makedepends = openssl
+ makedepends = zlib
+ makedepends = ruby
+ makedepends = msgpack-c
+
+pkgname = tmate-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8196c74d9b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=tmate-git
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Instant Terminal Sharing http://tmate.io/"
+arch=('i686' 'x86_64')
+license=('MIT')
+url="http://tmate.io/"
+makedepends=('cmake' 'libevent' 'ncurses' 'openssl' 'zlib' 'ruby' 'msgpack-c')
+
+gitroot="https://github.com/tmate-io/tmate.git"
+gitname="tmate"
+gitbranch="2.2.0"
+
+build() {
+ cd ${srcdir}
+ if [[ -d ${gitname} ]] ; then
+ cd ${gitname}
+ else
+ git clone -b ${gitbranch} --depth=1 ${gitroot}
+ cd ${gitname}
+ fi
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${gitname}
+ make DESTDIR=${pkgdir} install
+}