summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b7db89180662f1b99fc994b1db28409fbd92afc (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: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com>

pkgname=gif-for-cli-git
pkgver=r25.31f8aa2
pkgrel=1
pkgdesc="Render an animated GIF to your command line terminal."
arch=('any')
url="https://github.com/google/gif-for-cli"
license=('Apache')
depends=('python' 'python-pillow' 'python-requests' 'python-x256-git' 'ffmpeg')
makedepends=('git' 'python-setuptools')
source=("$pkgname::git+https://github.com/google/gif-for-cli")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

package() {
  cd "$pkgname"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}