summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 115ef2bf902140f179a4b24ab87bc298350cdb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Kai Yuan <kent.yuan @t gmail d@t com>
pkgname=retmux
pkgver=1.0.3
pkgrel=1
pkgdesc="tmux sessions backup and restore tool"
arch=('any')
url="https://github.com/sk1418/retmux"
license=('MIT')
makedepends=('git')
depends=('python2' 'tmux' 'python2-setuptools')
sha256sums=('SKIP')
sha512sums=('SKIP')
source=("$pkgname::git+http://github.com/sk1418/${pkgname%-*}.git")

package() {
  cd ${pkgname}
  find . -name "*.py" |xargs sed -i "s|/usr/bin/python|&2|" 
  python2 setup.py install --root="$pkgdir" --prefix="/usr"
}