summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af8626652eb9e0eb22d0aadec86d88ad3b635a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Bjoern Bidar <theodorstormgrade@gmail.com>
pkgname=csslint
pkgver=1.0.5
pkgrel=1
pkgdesc="Automated linting of Cascading Stylesheets"
arch=('any')
url="https://github.com/stubbornella/csslint"
license=('GPL')
depends=('nodejs')
makedepends=('npm')
conflicts=('csslint-git')

pkgver()
{
  npm view $pkgname version
}
package() {
  npm install $pkgname -g --prefix ${pkgdir}/usr
  rmdir ${pkgdir}/usr/etc
  chown -R root:root ${pkgdir}/usr
}

# vim:set ts=2 sw=2 et: