summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd8a85c291bd860f4da1d11e3ba02fc51d4913a4 (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
27
28
29
# Maintainer: Soraxas <oscar AT tinyiu DOT com>

pkgname=xxh-git
pkgver=0.8.6.r11.g07ac6a3
pkgrel=1
pkgdesc="Bring your favorite shell wherever you go through the ssh"
arch=('any')
url="https://github.com/xxh/xxh"
license=('BSD')
depends=('python' 'openssh' 'python-pexpect' 'python-yaml')
makedepends=('git' 'python-setuptools')
provides=('xxh')
conflicts=('xxh')
source=("git+https://github.com/xxh/xxh.git")
sha256sums=('SKIP')


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

package() {
  cd "xxh"
  /bin/python3 "setup.py" install \
    --optimize 1 \
    --root "$pkgdir"
}