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

pkgname=tmux-plugin-manager-git
pkgver=v3.0.0.r69.gb699a7e
pkgrel=1
pkgdesc="tpm - Tmux Plugin Manager"
arch=('any')
_repo=tpm
url="https://github.com/tmux-plugins/$_repo"
license=('MIT')
makedepends=('git')
depends=('tmux>=1.9' 'bash')
install=$pkgname.install
source=("git+$url.git")
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"
}