diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 14 insertions, 17 deletions
@@ -1,14 +1,13 @@ pkgbase = vis-base16-git - pkgdesc = cscope interface for the vis editor. + pkgdesc = Themes for the vis editor. pkgver = r6.05dae61 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pshevtsov/base16-vis arch = any license = MIT depends = vis provides = vis-base16 - conflicts = vis-base16 - source = git+https://github.com/pshevtsov/base16-vis.git + source = vis-base16::git+https://github.com/pshevtsov/base16-vis.git sha256sums = SKIP pkgname = vis-base16-git @@ -2,30 +2,28 @@ # Maintainer: Andrea Feletto <andrea@andreafeletto.com> pkgname=vis-base16-git -_pkgname=base16-vis +_pkgname=${pkgname%-*} pkgver=r6.05dae61 -pkgrel=1 -pkgdesc='cscope interface for the vis editor.' +pkgrel=2 +pkgdesc='Themes for the vis editor.' arch=('any') url='https://github.com/pshevtsov/base16-vis' license=('MIT') depends=('vis') provides=('vis-base16') -conflicts=('vis-base16') -source=("git+https://github.com/pshevtsov/$_pkgname.git") +source=("$_pkgname::git+https://github.com/pshevtsov/base16-vis.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/$_pkgname" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - vispath="$pkgdir/usr/share/vis/themes" - licenses="$pkgdir/usr/share/licenses/${pkgname%-git}" + cd "$srcdir/$_pkgname" - cd "$srcdir/$_pkgname" - install -dv "$vispath" - cp themes/* "$vispath" - install -Dm644 LICENSE "$licenses/LICENSE" + install -Dm644 themes/* -t "$pkgdir/usr/share/vis/themes" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$_pkgname" } |