summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e63a2cb3c543b3d35c0e65c98dadf6a8a9557491 (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
# Author: rr- <rr-@sakuya.pl>
# Maintainer: rr- <rr-@sakuya.pl>
pkgname=termi-git
pkgver=0.1
pkgrel=1
pkgdesc='Images in your terminal, using ANSI and Unicode.'
arch=('any')
url='https://github.com/rr-/termi'
license=('MIT')
depends=('python' 'python-pip')
makedepends=('git')
source=("$pkgname::git://github.com/rr-/termi.git")
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    git describe --tags --abbrev=0
}

build() {
    cd "$pkgname"
    python3 setup.py build
}

package() {
    cd "$pkgname"
    python3 setup.py install --prefix=/usr --root="$pkgdir"
}