[arch-commits] Commit in zsh-syntax-highlighting/trunk (ChangeLog PKGBUILD)

Evgeniy Alekseev arcanis at archlinux.org
Thu Oct 22 22:20:58 UTC 2015


    Date: Friday, October 23, 2015 @ 00:20:58
  Author: arcanis
Revision: 144741

upgpkg: zsh-syntax-highlighting 0.3.0-1

Modified:
  zsh-syntax-highlighting/trunk/ChangeLog
  zsh-syntax-highlighting/trunk/PKGBUILD

-----------+
 ChangeLog |    5 ++++-
 PKGBUILD  |   21 +++++++++++----------
 2 files changed, 15 insertions(+), 11 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2015-10-22 21:28:21 UTC (rev 144740)
+++ ChangeLog	2015-10-22 22:20:58 UTC (rev 144741)
@@ -1,2 +1,5 @@
+0.3.0-1:
+upstream update
+
 0.2.1-1:
-ustream update
+upstream update

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-22 21:28:21 UTC (rev 144740)
+++ PKGBUILD	2015-10-22 22:20:58 UTC (rev 144741)
@@ -3,26 +3,27 @@
 # Contributor: Julien Nicoulaud <julien.nicoulaud at gmail dot com>
 
 pkgname=zsh-syntax-highlighting
-pkgver=0.2.1
+pkgver=0.3.0
 pkgrel=1
 pkgdesc="Fish shell like syntax highlighting for Zsh"
-arch=(any)
+arch=('any')
 url="https://github.com/zsh-users/zsh-syntax-highlighting"
 license=('BSD')
 depends=('zsh>=4.3.9')
-install=${pkgname}.install
-conflicts=("${pkgname}-git")
+install="${pkgname}.install"
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zsh-users/${pkgname}/tarball/${pkgver}")
-md5sums=('40f2b7f786b14886cb518c6ee9815dfa')
+md5sums=('73182f2db724455933edd624d920f4e8')
 changelog=ChangeLog
 
 package() {
-  install -dm755 "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
-  cp -r "${srcdir}"/zsh-users-${pkgname}-*/* "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
+  install -dm755 "${pkgdir}/usr/share/zsh/plugins/"
+  cp -r "zsh-users-${pkgname}-"* "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
 
+  # docs
   install -dm755 "${pkgdir}/usr/share/doc"
-  ln -s /usr/share/zsh/plugins/${pkgname} "${pkgdir}/usr/share/doc/${pkgname}"
-
+  ln -s "/usr/share/zsh/plugins/${pkgname}" \
+        "${pkgdir}/usr/share/doc/${pkgname}"
   install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /usr/share/zsh/plugins/${pkgname}/COPYING.md "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  ln -s "/usr/share/zsh/plugins/${pkgname}/COPYING.md" \
+        "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }



More information about the arch-commits mailing list