mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 01:11:31 +01:00
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
pkgname=zsh-fast-syntax-highlighting
|
|
pkgver=1.55_git20230705
|
|
_gitrev=cf318e06a9b7c9f2219d78f41b46fa6e06011fd9
|
|
pkgrel=0
|
|
pkgdesc="Feature-rich syntax highlighting for ZSH"
|
|
url="https://github.com/zdharma-continuum/fast-syntax-highlighting"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="zsh"
|
|
#checkdepends="zunit"
|
|
subpackages="$pkgname-doc"
|
|
source="fast-syntax-highlighting-$_gitrev.tar.gz::https://github.com/zdharma-continuum/fast-syntax-highlighting/archive/$_gitrev.tar.gz"
|
|
builddir="$srcdir/fast-syntax-highlighting-$_gitrev"
|
|
options="!check" # zunit is not currently packaged
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/zsh/plugins
|
|
install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
|
|
install -Dm 644 CHROMA_GUIDE.adoc -t "$pkgdir"/usr/share/doc/"$pkgname"/
|
|
install -Dm 644 THEME_GUIDE.md -t "$pkgdir"/usr/share/doc/"$pkgname"/
|
|
|
|
rm test tests images .github -r
|
|
rm .fast* .gitignore .zunit.yml
|
|
rm CHANGELOG.md CHROMA_GUIDE.adoc LICENSE README.md THEME_GUIDE.md
|
|
|
|
mkdir -p "$pkgdir"/usr/share/zsh/plugins/fast-syntax-highlighting
|
|
mv ./* "$pkgdir"/usr/share/zsh/plugins/fast-syntax-highlighting
|
|
}
|
|
|
|
sha512sums="
|
|
805bf31b305c32cc2509a3cf28d4f49d94dcdf32dcd91dab9d2933be71d34c15b1b8a948dc48fe00642d8799fda41743d914dca0c13b75b5b13277e07750d22c fast-syntax-highlighting-cf318e06a9b7c9f2219d78f41b46fa6e06011fd9.tar.gz
|
|
"
|