diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = vim-aquarium-git pkgdesc = Vibrant dark colorscheme - pkgver = r16.ffc3007 + pkgver = 0.0.3.3.r5.gffc3007 pkgrel = 1 url = https://github.com/frenzyexists/aquarium-vim arch = any @@ -1,7 +1,7 @@ # Maintainer: Luis Martinez <luis dot martinez at disroot dot org> pkgname=vim-aquarium-git -pkgver=r16.ffc3007 +pkgver=0.0.3.3.r5.gffc3007 pkgrel=1 pkgdesc="Vibrant dark colorscheme" arch=('any') @@ -25,13 +25,12 @@ source=("$pkgname::git+$url") md5sums=('SKIP') pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git -C "$pkgname" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' } package() { cd "$pkgname" - find autoload colors lua -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + find autoload colors lua -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" } |