void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

template (1046B)


      1# Template file for 'zsh-theme-powerlevel10k'
      2pkgname=zsh-theme-powerlevel10k
      3version=1.13.0
      4revision=4
      5wrksrc=powerlevel10k-${version}
      6makedepends="zsh curl tar"
      7depends="zsh"
      8short_desc="Zsh theme emphasizes speed, flexibility and out-of-the-box experience"
      9maintainer="Dash Eclipse <dashezup@disroot.org>"
     10license="MIT"
     11homepage="https://github.com/romkatv/powerlevel10k"
     12distfiles="${homepage}/archive/v${version}.tar.gz"
     13checksum="84e23f801523e8d4084f6c9a726d918433f6d6c8b91b1540e1f6ecbed2c40a73"
     14nocross="gitstatusd binary"
     15tags="ezup"
     16
     17do_install() {
     18	zsh -fc '
     19		emulate zsh -o no_aliases
     20		unset -m "GITSTATUS_*"
     21		GITSTATUS_CACHE_DIR="$PWD"/gitstatus/usrbin ./gitstatus/install -f
     22		'
     23	for file in *.zsh-theme internal/*.zsh gitstatus/*.zsh gitstatus/install; do
     24		zsh -fc "emulate zsh -o no_aliases && zcompile -R -- $file.zwc $file"
     25	done
     26	vbin gitstatus/usrbin/gitstatusd-linux-x86_64 gitstatusd
     27	rm -rf .git* LICENSE *.md */*.md *.png gitstatus/usrbin
     28	vmkdir usr/share/${pkgname}
     29	vcopy ./ usr/share/${pkgname}
     30	vlicense LICENSE
     31}