# Maintainer: rarick 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" }