Date: Friday, June 9, 2017 @ 20:05:09 Author: shibumi Revision: 235696
archrelease: copy trunk to community-any Added: zsh-theme-powerlevel9k/repos/community-any/ zsh-theme-powerlevel9k/repos/community-any/PKGBUILD (from rev 235695, zsh-theme-powerlevel9k/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: zsh-theme-powerlevel9k/repos/community-any/PKGBUILD (from rev 235695, zsh-theme-powerlevel9k/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2017-06-09 20:05:09 UTC (rev 235696) @@ -0,0 +1,46 @@ +# Maintainer: Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org> +# Contributor: Florian Dejonckheere <florian at floriandejonckheere dot be> +# Contributor: jyantis <yan...@yantis.net> + +_pkgname=powerlevel9k +pkgname=zsh-theme-"${_pkgname}" +pkgver=0.6.3 +pkgrel=2 +pkgdesc='Powerlevel9k theme for zsh' +arch=('any') +url='https://github.com/bhilburn/powerlevel9k' +license=('mit') +depends=('zsh') +optdepends=( + 'powerline-fonts: powerline fonts integration' + 'awesome-terminal-fonts: icon package' + 'acpi: battery monitoring' + 'git: status of repository' + 'mercurial: status of repository' + 'systemd: virtualization detection' + 'openssh: ssh detection') + +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bhilburn/powerlevel9k/archive/v${pkgver}.tar.gz" + "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/bhilburn/powerlevel9k/releases/download/v${pkgver}/powerlevel9k-${pkgver}.tar.gz.asc") +sha512sums=('2a3d9a4a64f8829c6f4d14196178674b75db6c11c75cdb4b05b1d0fa3389992963f2d42dad542a5c8ab66aa9bfa7e51181f7cda35246d988d3f18baeea71b91b' + 'SKIP') +validpgpkeys=('C8D4D38F9ABB16BD3C6170F7ECD0D0410C149675') + +package(){ + cd "${srcdir}/${_pkgname}-${pkgver}" + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Install Documentation + install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + # Install the theme + install -D -m644 powerlevel9k.zsh-theme "${pkgdir}/usr/share/zsh-theme-${_pkgname}/${_pkgname}.zsh-theme" + + # Install the utilities + for FILE in functions/*.zsh; do + install -D -m644 "${FILE}" "${pkgdir}/usr/share/zsh-theme-${_pkgname}/functions/$(basename ${FILE})" + done +} + +# vim:set et sw=2 ts=2 tw=79: