summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35716311d668bbb8ffa838717d028a3faf1ec3cd (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
# Maintainer: rarick <tyler dot rarick at gmail dot com>

pkgname=tmux-plugin-manager
pkgver=v3.0.0.r60.g2afeff1
pkgrel=1
pkgdesc="tpm - Tmux Plugin Manager"
arch=('any')
_repo=tpm
url="https://github.com/tmux-plugins/$_repo"
license=('MIT')
depends=('tmux>=1.9' 'git' 'bash')
install=$pkgname.install
source=("git+$url.git#branch=master")
sha256sums=('SKIP')

pkgver() {
  cd $_repo
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  echo "  -> Installing tpm..."
  install -dDm 755 "$pkgdir/usr/share/$pkgname"
  cp -r $_repo/* "$pkgdir/usr/share/$pkgname"
}