Package Details: tmate-git 2.2.0-1

Git Clone URL: https://aur.archlinux.org/tmate-git.git (read-only)
Package Base: tmate-git
Description: Instant Terminal Sharing http://tmate.io/
Upstream URL: http://tmate.io/
Keywords: tmate tmux
Licenses: MIT
Submitter: vkill
Maintainer: vkill
Last Packager: vkill
Votes: 5
Popularity: 0.051799
First Submitted: 2016-03-26 16:00
Last Updated: 2016-03-26 16:42

Latest Comments

yogo1212 commented on 2017-06-06 20:15

Hi

please consider merging this :-)

From 27d7ab3e4b6ad379402dacb74a800a37abe7882b Mon Sep 17 00:00:00 2001
From: "Leon M. George" <leon@georgemail.eu>
Date: Tue, 6 Jun 2017 21:55:39 +0200
Subject: [PATCH 1/2] update license

---
PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 8196c74..32f01c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgver=2.2.0
pkgrel=1
pkgdesc="Instant Terminal Sharing http://tmate.io/"
arch=('i686' 'x86_64')
-license=('MIT')
+license=('BSD')
url="http://tmate.io/"
makedepends=('cmake' 'libevent' 'ncurses' 'openssl' 'zlib' 'ruby' 'msgpack-c')

--
2.13.0

From 48851db3ea088d4e66b23652db9a3c12885a9044 Mon Sep 17 00:00:00 2001
From: "Leon M. George" <leon@georgemail.eu>
Date: Tue, 6 Jun 2017 21:56:03 +0200
Subject: [PATCH 2/2] fetch version from git as well

---
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 32f01c1..e4f3067 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,25 +6,25 @@ arch=('i686' 'x86_64')
license=('BSD')
url="http://tmate.io/"
makedepends=('cmake' 'libevent' 'ncurses' 'openssl' 'zlib' 'ruby' 'msgpack-c')
+provides=(tmate)
+conflicts=(tmate)
+replaces=(tmate)
+source=(git+https://github.com/tmate-io/tmate)
+md5sums=('SKIP')

-gitroot="https://github.com/tmate-io/tmate.git"
-gitname="tmate"
-gitbranch="2.2.0"
+pkgver() {
+ cd tmate
+ git describe --long --tags | sed 's/^\(.*\)-\([0-9]*\)-g[^-]*$/\1r\2/;s/-/\./'
+}

build() {
- cd ${srcdir}
- if [[ -d ${gitname} ]] ; then
- cd ${gitname}
- else
- git clone -b ${gitbranch} --depth=1 ${gitroot}
- cd ${gitname}
- fi
+ cd tmate
./autogen.sh
./configure --prefix=/usr
make
}

package() {
- cd ${gitname}
+ cd tmate
make DESTDIR=${pkgdir} install
}
--
2.13.0