blob: 36479b966caed3cade8b09116353818da44a2062 (
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
25
26
27
28
29
30
31
|
# Contributor: Dawid Dziurla <dawidd0811@gmail.com>
# Maintainer: Dawid Dziurla <dawidd0811@gmail.com>
pkgname=zsh-syntax-highlighting
pkgver=0.6.0
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"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" PREFIX="/usr" \
SHARE_DIR="$pkgdir/usr/share/zsh/plugins/$pkgname"
}
sha512sums="bb83f41336e9010aa78ee5adc9a216ee53f3b4347041d1b273083940d9db4d0e4acd960150b28c41f6e5e8d00b029f00fca6f9a46955892e4547a9f2345e3b85 zsh-syntax-highlighting-0.6.0.tar.gz"
|