summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennard Hofmann2020-03-27 13:46:30 +0100
committerLennard Hofmann2020-03-27 13:46:30 +0100
commitae94e61d3e1c5a5d843d5662e6b405d9d9cece92 (patch)
tree71a0eb0974f64e52327037eaa7a280b7bc394715
downloadaur-ae94e61d3e1c5a5d843d5662e6b405d9d9cece92.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD21
-rw-r--r--kak-tagbar.install6
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5d40d1a294b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = kak-tagbar
+ pkgdesc = Source outline viewer for Kakoune
+ pkgver = 0.1.3
+ pkgrel = 1
+ url = https://gitlab.com/andreyorst/tagbar.kak
+ install = kak-tagbar.install
+ arch = any
+ license = MIT
+ depends = ctags
+ depends = kakoune
+ optdepends = tmux: For split panes
+ source = https://gitlab.com/andreyorst/tagbar.kak/-/archive/v0.1.3/tagbar.kak-v0.1.3.tar.gz
+ sha256sums = c4e93684a3327264c853a24bd331a225aba07da3526eb819fd94c606b6286eed
+
+pkgname = kak-tagbar
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fea3ec6cb7e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de>
+pkgname=kak-tagbar
+_reponame=tagbar.kak
+pkgver=0.1.3
+pkgrel=1
+pkgdesc='Source outline viewer for Kakoune'
+arch=(any)
+url="https://gitlab.com/andreyorst/$_reponame"
+license=(MIT)
+depends=(ctags kakoune)
+optdepends=('tmux: For split panes')
+install="$pkgname.install"
+source=("$url/-/archive/v$pkgver/$_reponame-v$pkgver.tar.gz")
+sha256sums=('c4e93684a3327264c853a24bd331a225aba07da3526eb819fd94c606b6286eed')
+
+package() {
+ cd "$_reponame-v$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+ install -Dm644 -t "$pkgdir/usr/share/$pkgname/rc" rc/tagbar.kak
+}
diff --git a/kak-tagbar.install b/kak-tagbar.install
new file mode 100644
index 00000000000..2b96d373c82
--- /dev/null
+++ b/kak-tagbar.install
@@ -0,0 +1,6 @@
+post_install() {
+ echo
+ echo To finish installation, source \
+ /usr/share/kak-tagbar/rc/tagbar.kak in your .kakrc
+ echo
+}