mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
32 lines
834 B
Plaintext
32 lines
834 B
Plaintext
# 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"
|