summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Steel2019-04-11 20:19:23 +0100
committerJonathan Steel2019-04-11 20:19:23 +0100
commit90d4bfff4efafadfd8fe412017eebdfa2a2107e1 (patch)
tree1de3fddf6960e69a47e1c852fe317cd5e2534a48
parent7fd4cecd1dfda12cee81ff1336c4293cdbd81eff (diff)
downloadaur-tmux-cssh.tar.gz
Change upstream
The previous upstream is no longer available
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 21 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e7981b530a2..7c29b533dddb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
-# Generated by mksrcinfo v8
-# Tue Mar 15 09:31:48 UTC 2016
pkgbase = tmux-cssh
pkgdesc = TMUX with a "ClusterSSH"-like behaviour
- pkgver = 1.0.6.0
- pkgrel = 2
- url = https://github.com/dennishafemann/tmux-cssh
+ pkgver = r76.48c9ed8
+ pkgrel = 1
+ epoch = 1
+ url = https://github.com/zinic/tmux-cssh
arch = any
license = Apache
+ makedepends = git
depends = tmux
- source = tmux-cssh-1.0.6-0.tar.gz::https://github.com/dennishafemann/tmux-cssh/archive/1.0.6-0.tar.gz
- md5sums = 12a6bc8254e9c35112c749182656273c
+ source = git+https://github.com/zinic/tmux-cssh.git#commit=48c9ed8
+ md5sums = SKIP
pkgname = tmux-cssh
diff --git a/PKGBUILD b/PKGBUILD
index 5e4990cf81cf..de328340314b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,26 @@
# Contributor: Mike Dacre <mike@dacre.me>
pkgname=tmux-cssh
-_pkgver=1.0.6-0
-pkgver=${_pkgver//-/.}
-pkgrel=2
+pkgver=r76.48c9ed8
+pkgrel=1
+epoch=1
pkgdesc="TMUX with a \"ClusterSSH\"-like behaviour"
arch=('any')
-url="https://github.com/dennishafemann/tmux-cssh"
+url="https://github.com/zinic/tmux-cssh"
license=('Apache')
depends=('tmux')
-source=($pkgname-$_pkgver.tar.gz::https://github.com/dennishafemann/tmux-cssh/archive/$_pkgver.tar.gz)
-md5sums=('12a6bc8254e9c35112c749182656273c')
+makedepends=('git')
+source=(git+https://github.com/zinic/tmux-cssh.git#commit=48c9ed8)
+md5sums=('SKIP')
+
+pkgver() {
+ cd tmux-cssh
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
package() {
- cd tmux-cssh-$_pkgver
+ cd tmux-cssh
install -Dm755 tmux-cssh "$pkgdir"/usr/bin/tmux-cssh
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/tmux-cssh/LICENSE