summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47dadb7e2111651da9c1ba271770ee92070ef5d6 (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
# Maintainer: Peter Varo <hello@petervaro.com>

pkgname=python-pyte-git
pkgver=r237.211541f
pkgver() {
    cd "pyte"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgrel=1
pkgdesc="Simple VTXXX-compatible linux terminal emulator"
arch=('any')
url="https://github.com/selectel/pyte"
license=('LGPL3')
depends=('python')
makedepends=('git' 'python-distribute')
conflicts=('python-pyte')
source=("git+https://github.com/selectel/pyte.git")
sha256sums=('SKIP')

build() {
  cd pyte
  python setup.py build
}

package() {
  cd pyte
  python setup.py install --root="$pkgdir" --optimize=1
}