blob: 5bc4d77f8e1060d7633f83a79bdc4f2262ddbfce (
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
|
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: "Amhairghin" Oscar Garcia Amor
# Contributors: bhushan, huma, adlaiff6, Invie, solarce
pkgname=tmate-git
pkgver=2.4.0.r29.gac919516
pkgrel=1
pkgdesc="Instant terminal sharing"
arch=('x86_64')
url="https://tmate.io/"
license=('ISC')
depends=('libevent' 'libssh' 'libutempter' 'msgpack-c' 'ncurses')
makedepends=('git')
source=("git+https://github.com/tmate-io/tmate.git")
sha256sums=('SKIP')
pkgver() {
cd tmate
git describe --tags | sed 's/-/.r/;s/-/./g'
}
prepare() {
cd tmate
./autogen.sh
autoupdate
}
build() {
cd tmate
./configure --prefix=/usr
make
}
package() {
cd tmate
make DESTDIR="${pkgdir}" install
install -Dm644 -t "${pkgdir}/usr/share/licenses/$pkgname" COPYING
}
# vim: set ts=2 sw=2 et:
|