summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e846832bb1e0697a0e4cb97b036cc598f2dadc0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Adam Ferrick <adameferrick at gmail dot com>

pkgname=kak-bundle-git
pkgver=r116.5f479e8
pkgrel=1
pkgdesc="A plugin manager for Kakoune designed for speed without sacrificing utility."
arch=('any')
url="https://codeberg.org/jdugan6240/kak-bundle"
license=('0BSD')
depends=('kakoune')
makedepends=('git')
install=${pkgname}.install
source=(${pkgname}::git+https://codeberg.org/jdugan6240/kak-bundle)
md5sums=('SKIP')

pkgver() {
	cd "$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	install -Dm 644 ${pkgname}/rc/kak-bundle.kak "${pkgdir}"/usr/share/kak/rc/bundle/kak-bundle.kak
	install -Dm 644 ${pkgname}/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}