summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Baz2021-03-20 01:18:38 +0100
committerMaxim Baz2021-03-20 01:18:38 +0100
commit306eaec8711aad8d0f9446214cbc4d54f6237ffc (patch)
treeedce866656a4f4d77af57796eb4a10b924a3a3e8
parent97aad7cc9f3cb23d9039a2eaf33281e71c4b96d0 (diff)
downloadaur-306eaec8711aad8d0f9446214cbc4d54f6237ffc.tar.gz
kakoune.cr: implement some improvements
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0df5e0b4288..588b63d207d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = kakoune.cr-git
pkgdesc = command-line tool for Kakoune
- pkgver = r33.14367a5
+ pkgver = r83.247fcec
pkgrel = 1
url = https://github.com/alexherbo2/kakoune.cr
arch = x86_64
license = Unlicense
makedepends = git
- depends = crystal
- depends = shards
+ makedepends = crystal
+ makedepends = shards
+ makedepends = llvm
depends = jq
optdepends = fzf: fzf integration
optdepends = bat: fzf integration
diff --git a/PKGBUILD b/PKGBUILD
index c048ed5f9f7..ce59cd85209 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de>
pkgname=kakoune.cr-git
_reponame=kakoune.cr
-pkgver=r33.14367a5
+pkgver=r83.247fcec
pkgrel=1
pkgdesc='command-line tool for Kakoune'
arch=(x86_64)
url="https://github.com/alexherbo2/kakoune.cr"
license=(Unlicense)
-depends=(crystal shards jq)
-makedepends=(git)
+depends=(jq)
+makedepends=(git crystal shards llvm)
optdepends=('fzf: fzf integration'
'bat: fzf integration'
'fd: fzf integration'
@@ -33,5 +33,8 @@ package() {
# 'make install' installs stuff into user's home directory so we do the packaging ourselfs
install -Dm755 -t "$pkgdir/usr/bin/" bin/kcr share/kcr/commands/*/kcr-*
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
- install -Dm644 share/kcr/init/kakoune.kak "$pkgdir/usr/share/kak/rc/addons/kakoune.cr.kak"
+ install -Dm644 -t "$pkgdir/usr/share/kcr/pages" share/kcr/pages/tldr.txt
+ install -Dm644 -t "$pkgdir/usr/share/kcr/init" share/kcr/init/*
+ install -dm755 "$pkgdir/usr/share/kak/rc/addons"
+ ln -sf /usr/share/kcr/init/kakoune.kak "$pkgdir/usr/share/kak/rc/addons/kakoune.cr.kak"
}