summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Baz2021-06-28 14:19:05 +0200
committerMaxim Baz2021-06-28 14:19:05 +0200
commit2edaf6b64fd882a08f0134f52e436983e3462c23 (patch)
treefc1a03ea517284a36a9eec55f2c3a78cd5c79415
parent37a668f6a518ce6e9417f9dca2ca4329fa8cc7aa (diff)
downloadaur-kakoune.cr-git.tar.gz
kakoune.cr-git: package plugins and man
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93782f55d94..0a52ccd2858 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kakoune.cr-git
pkgdesc = command-line tool for Kakoune
- pkgver = r127.21382e9
+ pkgver = r145.4f86083
pkgrel = 1
url = https://github.com/alexherbo2/kakoune.cr
arch = x86_64
@@ -9,6 +9,7 @@ pkgbase = kakoune.cr-git
makedepends = crystal
makedepends = shards
makedepends = llvm
+ makedepends = asciidoctor
depends = jq
optdepends = fzf: fzf integration
optdepends = bat: fzf integration
@@ -20,4 +21,3 @@ pkgbase = kakoune.cr-git
sha256sums = SKIP
pkgname = kakoune.cr-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 481538a9534..c817ece776a 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=r127.21382e9
+pkgver=r145.4f86083
pkgrel=1
pkgdesc='command-line tool for Kakoune'
arch=(x86_64)
url="https://github.com/alexherbo2/kakoune.cr"
license=(Unlicense)
depends=(jq)
-makedepends=(git crystal shards llvm)
+makedepends=(git crystal shards llvm asciidoctor)
optdepends=('fzf: fzf integration'
'bat: fzf integration'
'fd: fzf integration'
@@ -26,6 +26,8 @@ pkgver() {
build() {
cd "$srcdir/$_reponame"
make build
+
+ asciidoctor -b manpage share/kcr/pages/*.asciidoc
}
package() {
@@ -34,7 +36,9 @@ package() {
install -Dm755 -t "$pkgdir/usr/bin/" bin/kcr share/kcr/commands/*/kcr-*
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
install -Dm644 -t "$pkgdir/usr/share/kcr/pages" share/kcr/pages/tldr.txt
+ install -Dm644 -t "$pkgdir/usr/share/man/man1/" share/kcr/pages/*.1
install -Dm644 -t "$pkgdir/usr/share/kcr/init" share/kcr/init/*
+ install -Dm644 -t "$pkgdir/usr/share/kcr/rc" share/kcr/rc/*
install -Dm644 -t "$pkgdir/usr/share/applications" share/kcr/applications/kcr.desktop
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"