diff options
Diffstat (limited to 'community/zsh-syntax-highlighting')
-rw-r--r-- | community/zsh-syntax-highlighting/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/zsh-syntax-highlighting/APKBUILD b/community/zsh-syntax-highlighting/APKBUILD new file mode 100644 index 0000000000..36479b966c --- /dev/null +++ b/community/zsh-syntax-highlighting/APKBUILD @@ -0,0 +1,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" |