summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3a129ea34d26445f0f30bd20a99ea2c5b6ce694 (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=r24.9696f25
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' '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
}