[arch-commits] Commit in zsh-theme-powerlevel10k/repos (2 files)

Christian Rebischke shibumi at archlinux.org
Fri Mar 20 21:23:41 UTC 2020


    Date: Friday, March 20, 2020 @ 21:23:40
  Author: shibumi
Revision: 602140

archrelease: copy trunk to community-any

Added:
  zsh-theme-powerlevel10k/repos/community-any/
  zsh-theme-powerlevel10k/repos/community-any/PKGBUILD
    (from rev 602139, zsh-theme-powerlevel10k/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: zsh-theme-powerlevel10k/repos/community-any/PKGBUILD (from rev 602139, zsh-theme-powerlevel10k/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-20 21:23:40 UTC (rev 602140)
@@ -0,0 +1,54 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Jeff Henson <jeff at henson.io>
+# Contributor: Ron Asimi <ron dot asimi at gmail dot com>
+
+pkgname=zsh-theme-powerlevel10k
+pkgver=1.4.0
+pkgrel=2
+pkgdesc="Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience."
+arch=('any')
+url='https://github.com/romkatv/powerlevel10k'
+license=('MIT')
+depends=('zsh')
+conflicts=('zsh-theme-powerlevel9k')
+replaces=('zsh-theme-powerlevel9k')
+optdepends=(
+  'powerline-fonts: patched fonts for powerline'
+  'oh-my-zsh-git: oh-my-zsh integration'
+  'prezto-git: Prezto integration'
+  'antigen: Antigen integration'
+  'zpm: ZPM integration'
+  'zsh-zim-git: Zim integration'
+  'awesome-terminal-fonts: icon package'
+  'acpi: battery monitoring'
+  'git: status of repository'
+  'mercurial: status of repository'
+  'systemd: virtualization detection'
+  'openssh: ssh detection'
+)
+source=("https://github.com/romkatv/powerlevel10k/archive/v${pkgver}.tar.gz")
+sha256sums=('233d817229731d80076d0c8312fb0130bf2d3e4300de1b8265866e43abc87c3c')
+
+package()
+{
+  cd "${srcdir}/powerlevel10k-${pkgver}"
+
+  # Install license
+  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 powerlevel10k.zsh-theme "${pkgdir}/usr/share/${pkgname}/powerlevel10k.zsh-theme"
+  install -D -m644 powerlevel9k.zsh-theme "${pkgdir}/usr/share/${pkgname}/powerlevel9k.zsh-theme"
+
+  # Install the utilities
+  install -D -m755 prompt_powerlevel10k_setup "${pkgdir}/usr/share/${pkgname}/prompt_powerlevel10k_setup"
+  install -D -m755 prompt_powerlevel9k_setup "${pkgdir}/usr/share/${pkgname}/prompt_powerlevel9k_setup"
+  install -d "${pkgdir}/usr/share/${pkgname}/config"
+  cp -R config "${pkgdir}/usr/share/${pkgname}/"
+  install -d "${pkgdir}/usr/share/${pkgname}/gitstatus/bin"
+  cp -R gitstatus "${pkgdir}/usr/share/${pkgname}/"
+  cp -R internal "${pkgdir}/usr/share/${pkgname}/"
+}



More information about the arch-commits mailing list