summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a5662c8125edf02104909011cf01f7fa51790de (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
# Maintainer: Daniel M. Capella <polycitizen@gmail.com>

pkgname=ttygif
pkgver=1.4.0
pkgrel=1
pkgdesc='Convert terminal recordings to animated gifs'
arch=('x86_64')
url=https://github.com/icholy/ttygif
license=('MIT')
depends=('imagemagick' 'xorg-xwd')
optdepends=('ttyrec: tty recorder and player')
source=("ttygif-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('949fe5029978888b4c7fed18f05d4df111c45f0eb29adb517e360d0086135d20781ef9509258fe54b45073fadebd4129647585d300c36d6ab966297741d88f66')

build() {
  cd ttygif-$pkgver
  make
}

package() {
  cd ttygif-$pkgver
  install -Dm755 ttygif "$pkgdir"/usr/bin/ttygif
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/ttygif/LICENSE
}

# vim:set ts=2 sw=2 et: