[arch-commits] Commit in zsh-syntax-highlighting/trunk (ChangeLog PKGBUILD)
Evgeniy Alekseev
arcanis at archlinux.org
Thu Jan 28 13:47:02 UTC 2016
Date: Thursday, January 28, 2016 @ 14:47:01
Author: arcanis
Revision: 159319
upgpkg: zsh-syntax-highlighting 0.4.1-1
Modified:
zsh-syntax-highlighting/trunk/ChangeLog
zsh-syntax-highlighting/trunk/PKGBUILD
-----------+
ChangeLog | 3 +++
PKGBUILD | 20 +++++++++++---------
2 files changed, 14 insertions(+), 9 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2016-01-28 13:24:06 UTC (rev 159318)
+++ ChangeLog 2016-01-28 13:47:01 UTC (rev 159319)
@@ -1,3 +1,6 @@
+0.4.1-1:
+upstream update
+
0.4.0-1:
ustream update
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-28 13:24:06 UTC (rev 159318)
+++ PKGBUILD 2016-01-28 13:47:01 UTC (rev 159319)
@@ -3,7 +3,7 @@
# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail dot com>
pkgname=zsh-syntax-highlighting
-pkgver=0.4.0
+pkgver=0.4.1
pkgrel=1
pkgdesc="Fish shell like syntax highlighting for Zsh"
arch=('any')
@@ -12,18 +12,20 @@
depends=('zsh>=4.3.9')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zsh-users/${pkgname}/tarball/${pkgver}")
-md5sums=('285ebac197414604f9a93597f4c66b78')
+md5sums=('c19158bd3240a9274c9347acfafc94f1')
changelog=ChangeLog
+build() {
+ cd "zsh-users-zsh-syntax-highlighting-"*
+ make
+}
+
package() {
- install -dm755 "${pkgdir}/usr/share/zsh/plugins/"
- cp -r "zsh-users-${pkgname}-"* "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
+ cd "zsh-users-zsh-syntax-highlighting-"*
+ make PREFIX="/usr" SHARE_DIR="${pkgdir}/usr/share/zsh/plugins/${pkgname}" DESTDIR="${pkgdir}" install
- # docs
- install -dm755 "${pkgdir}/usr/share/doc"
- ln -s "/usr/share/zsh/plugins/${pkgname}" \
- "${pkgdir}/usr/share/doc/${pkgname}"
+ # licence
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s "/usr/share/zsh/plugins/${pkgname}/COPYING.md" \
+ ln -s "/usr/share/doc/${pkgname}/COPYING.md" \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
More information about the arch-commits
mailing list