blob: 07bc446c4f6419f7686c817e5986a687a05546ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgname=kakoune-extra-filetypes-git
pkgver=r33_g9cbd83b
pkgrel=1
pkgdesc='Extra highlighters for the Kakoune editor'
arch=('any')
url='https://github.com/kakoune-editor/kakoune-extra-filetypes'
license=('custom:unlicense')
depends=('kakoune')
makedepends=('git')
source=("${pkgname}::git+https://github.com/kakoune-editor/kakoune-extra-filetypes.git")
sha256sums=('SKIP')
install="${pkgname}.install"
pkgver() {
cd "${srcdir}/${pkgname}"
printf r%s_g%s $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
package() {
cd "${srcdir}/${pkgname}"
make install DESTDIR="${pkgdir}" PREFIX=/usr
install -Dm644 UNLICENSE ${pkgdir}/usr/share/licenses/${pkgname}/UNLICENSE
}
|