summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-20 00:10:29 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-20 00:10:29 +0100
commit73dafd7c333ad68ad78abaf85734716c64fd3699 (patch)
tree4d264defe028a3d14d53e57d0c45952135ed6d53 /pcr
parentdf8930828c0b29bc7a23bbde2e136a7c5bd2ed99 (diff)
downloadabslibre-73dafd7c333ad68ad78abaf85734716c64fd3699.tar.gz
abslibre-73dafd7c333ad68ad78abaf85734716c64fd3699.tar.bz2
abslibre-73dafd7c333ad68ad78abaf85734716c64fd3699.zip
pcr/vim-autotag: updated to r23.b2847e1
Diffstat (limited to 'pcr')
-rw-r--r--pcr/vim-autotag/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/pcr/vim-autotag/PKGBUILD b/pcr/vim-autotag/PKGBUILD
index 6c53c0e7d..5782e1ddc 100644
--- a/pcr/vim-autotag/PKGBUILD
+++ b/pcr/vim-autotag/PKGBUILD
@@ -1,31 +1,27 @@
# Contributor: Daniel Milewski <niitotantei@riseup.net>
pkgname=vim-autotag
-pkgver=r5.433b6b5
-_gitcommit=433b6b5be330615c4cb97ec748a773115dcced60
+pkgver=r23.b2847e1
+_gitcommit=b2847e15cb448e7e3194c500527fdfe042a4378a
pkgrel=1
pkgdesc='Automatically discover and "properly" update ctags files on save'
arch=(any)
url=https://github.com/craigemery/vim-autotag
license=(custom:vim)
groups=(vim-plugins)
-mkdepends=(git)
+makedepends=(git)
depends=(ctags vim)
-mksource=($pkgname-$pkgver::git+https://github.com/craigemery/$pkgname.git#commit=$_gitcommit)
-source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz)
-mksha256sums=(SKIP)
-sha256sums=(3fe4270ec84a4299866c6c205a9869055a72194c6482fed7a7c4bb99acc5b5b0)
+source=(git+https://github.com/craigemery/$pkgname.git#commit=$_gitcommit)
+sha256sums=('SKIP')
-mksource()
-{
- cd "$srcdir/$pkgname-$pkgver"
-
- rm .gitignore
+pkgver() {
+ cd "$srcdir"/$pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package()
{
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
install -Dm 644 plugin/autotag.py "$pkgdir/usr/share/vim/vimfiles/plugin/autotag.py"
install -Dm 644 plugin/autotag.vim "$pkgdir/usr/share/vim/vimfiles/plugin/autotag.vim"