diff options
author | a821 | 2024-03-23 15:31:09 +0100 |
---|---|---|
committer | a821 | 2024-03-23 15:31:09 +0100 |
commit | bc69f5effc9610ec5f936d14512367a47f930b19 (patch) | |
tree | db6ccb5bae0a6f58259c456413a9692e018909bb /PKGBUILD | |
parent | d0526bd7a72d08c6ce41366b3c56a481386fc880 (diff) | |
download | aur-tmate-git.tar.gz |
Update PKGBUILD. Sync with official package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 29 insertions, 19 deletions
@@ -1,30 +1,40 @@ +# Contributor: Christian Hesse <mail@eworm.de> +# Contributor: "Amhairghin" Oscar Garcia Amor +# Contributors: bhushan, huma, adlaiff6, Invie, solarce + pkgname=tmate-git -pkgver=2.2.0 +pkgver=2.4.0.r29.gac919516 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') +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') -gitroot="https://github.com/tmate-io/tmate.git" -gitname="tmate" -gitbranch="2.2.0" +pkgver() { + cd tmate + git describe --tags | sed 's/-/.r/;s/-/./g' +} -build() { - cd ${srcdir} - if [[ -d ${gitname} ]] ; then - cd ${gitname} - else - git clone -b ${gitbranch} --depth=1 ${gitroot} - cd ${gitname} - fi +prepare() { + cd tmate ./autogen.sh + autoupdate +} + +build() { + cd tmate ./configure --prefix=/usr make } package() { - cd ${gitname} - make DESTDIR=${pkgdir} install + cd tmate + make DESTDIR="${pkgdir}" install + install -Dm644 -t "${pkgdir}/usr/share/licenses/$pkgname" COPYING } + +# vim: set ts=2 sw=2 et: |