mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
zsh-syntax-highlighting: add .plugin.zsh
And use install target instead of manually copying files. Closes: #28740 [via git-merge-pr]
This commit is contained in:
parent
8ca33a4285
commit
da39b6e17e
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zsh-syntax-highlighting'
|
# Template file for 'zsh-syntax-highlighting'
|
||||||
pkgname=zsh-syntax-highlighting
|
pkgname=zsh-syntax-highlighting
|
||||||
version=0.7.1
|
version=0.7.1
|
||||||
revision=2
|
revision=3
|
||||||
depends="zsh"
|
depends="zsh"
|
||||||
short_desc="Fish shell like syntax highlighting for Zsh"
|
short_desc="Fish shell like syntax highlighting for Zsh"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -12,9 +12,7 @@ distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=f5044266ee198468b1bcec881a56e6399e209657d6ed9fa6d21175bc76afdefa
|
checksum=f5044266ee198468b1bcec881a56e6399e209657d6ed9fa6d21175bc76afdefa
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall ${pkgname}.zsh 644 usr/share/zsh/plugins/${pkgname}
|
make install SHARE_DIR=${DESTDIR}/usr/share/zsh/plugins/${pkgname} DOC_DIR=${DESTDIR}/usr/share/zsh/plugins/${pkgname}/doc
|
||||||
vinstall .version 644 usr/share/zsh/plugins/${pkgname}
|
vinstall ${pkgname}.plugin.zsh 644 usr/share/zsh/plugins/${pkgname}
|
||||||
vinstall .revision-hash 644 usr/share/zsh/plugins/${pkgname}
|
|
||||||
vcopy highlighters usr/share/zsh/plugins/${pkgname}
|
|
||||||
vlicense COPYING.md
|
vlicense COPYING.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue