summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0226f87043715df3ad2c73a5de7c24313976a9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: solnce <echo c29sbmNlQHJhdGFqY3phay5vbmU= | base64 -d>
pkgname=vv-sixel-git
_pkgname=vv
pkgver=1.8.r12.gdd2352e
pkgrel=1
pkgdesc='an image viewer for sixel terminals'
url="https://github.com/hackerb9/${_pkgname}"
source=("git+https://github.com/hackerb9/${_pkgname}")
arch=('any')
license=('GPL3')
depends=('bash' 'imagemagick')
makedepends=('git')
sha256sums=(SKIP)

package() {
  cd "${srcdir}/${_pkgname}"
  install -Dm755 vv "${pkgdir}/usr/bin/vv"
}

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}