aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsh-syntax-highlighting/APKBUILD
blob: 52e1302c3723727acda231d847dc9cdd513ae012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Dawid Dziurla <dawidd0811@gmail.com>
# Maintainer: Dawid Dziurla <dawidd0811@gmail.com>
pkgname=zsh-syntax-highlighting
pkgver=0.7.1
pkgrel=0
pkgdesc="Fish shell like syntax highlighting for Zsh"
url="https://github.com/zsh-users/zsh-syntax-highlighting"
arch="noarch"
license="BSD-3-Clause"
depends="zsh"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr" \
		SHARE_DIR="$pkgdir/usr/share/zsh/plugins/$pkgname"
}

sha512sums="e7e86b88cdac9b9ed5f973823ba8efff99dd720b9ed929f765f9f9266b9d6e147274f5957ceb630d51a660e396fc22e97f10cfbc5cdde941b907f3773bb1ea2b  zsh-syntax-highlighting-0.7.1.tar.gz"