updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / zsh-syntax-highlighting / PKGBUILD
blobe2668210ff76621e7e14333c27b540b155162e67
1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
3 pkgname=zsh-syntax-highlighting
4 pkgver=0.1.1
5 pkgrel=1
6 pkgdesc="Fish shell like syntax highlighting for Zsh."
7 arch=(any)
8 url="https://github.com/zsh-users/zsh-syntax-highlighting"
9 license=(BSD)
10 depends=("zsh>=4.3.9")
11 install=${pkgname}.install
12 changelog=Changelog
13 conflicts=(${pkgname}-git)
14 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zsh-users/${pkgname}/tarball/${pkgver}")
15 md5sums=('7450d5cc334ac21c6c26aa82bc2c9749')
17 package() {
18   msg2 "Install scripts at /usr/share/zsh/plugins/${pkgname}..."
19   install -m0755 -d "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
20   cp -r "${srcdir}"/zsh-users-${pkgname}-*/* "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
22   msg2 "Install links to the documentation resources at /usr/share/doc/${pkgname}..."
23   install -m0755 -d "${pkgdir}/usr/share/doc"
24   ln -s /usr/share/zsh/plugins/${pkgname} "${pkgdir}/usr/share/doc/${pkgname}"
26   msg2 "Install links to the license resources at /usr/share/licenses/${pkgname}..."
27   install -m0755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
28   ln -s /usr/share/zsh/plugins/${pkgname}/COPYING.md "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"