summaryrefslogtreecommitdiff
path: root/pcr/vim-autotag/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-02-06 12:41:29 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-02-06 12:41:29 -0300
commitaf79d5fbd2e870167f439094f4a1ba85b2ad2e38 (patch)
tree3bdd6b101e9e5461345b2b42bcf3b30177d94d16 /pcr/vim-autotag/PKGBUILD
parent1416490658fb1d376129a926572f34b6be8c3283 (diff)
parent9a4296be7488240f16cd3944f96aea8d936fa276 (diff)
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/vim-autotag/PKGBUILD')
-rw-r--r--pcr/vim-autotag/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/vim-autotag/PKGBUILD b/pcr/vim-autotag/PKGBUILD
new file mode 100644
index 000000000..6c53c0e7d
--- /dev/null
+++ b/pcr/vim-autotag/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Daniel Milewski <niitotantei@riseup.net>
+
+pkgname=vim-autotag
+pkgver=r5.433b6b5
+_gitcommit=433b6b5be330615c4cb97ec748a773115dcced60
+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)
+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)
+
+mksource()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ rm .gitignore
+}
+
+package()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ 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"
+
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s /usr/share/licenses/vim-runtime/license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}