summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af2de2d574f4539883effac1b0ec10c53b6239df (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
29
# Maintainer: Jose Riha <jose1711 gmail com>

pkgname=vifm-colors-git
_pkgname=vifm-colors
pkgver=r51.d9b39e8
pkgrel=1
pkgdesc="Various colorschemes for vifm file explorer"
url="https://github.com/vifm/vifm-colors"
makedepends=('git')
conflicts=(vifm-colors)
license=('GPL')
arch=('any')
source=("${pkgname}"::'git+https://github.com/vifm/vifm-colors.git')
md5sums=('SKIP')

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

package() {
  cd ${srcdir}/${pkgname}
  for i in *.vifm
  do
    install -Dm644 "$i" "$pkgdir/usr/share/vifm/colors/$i"
  done
}

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