diff options
author | aurelien <aurelien@cwb.io> | 2012-11-16 10:36:14 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-16 10:36:14 +0100 |
commit | bf44c9909e79acc33fab15e61f30c2f38279b895 (patch) | |
tree | 128a5386c33c23d3287cb5f503220a7ed39ce1b2 /pcr/lessc/PKGBUILD | |
parent | e6873c195f2e4a77545d0797b3aab61e5992fdf6 (diff) | |
download | abslibre-bf44c9909e79acc33fab15e61f30c2f38279b895.tar.gz abslibre-bf44c9909e79acc33fab15e61f30c2f38279b895.tar.bz2 abslibre-bf44c9909e79acc33fab15e61f30c2f38279b895.zip |
+ lessc python2-flask-lesscss perl-latex-encode mycron-git
(lot of permissions trouble with mycron-git(report on irc # + comment))
Diffstat (limited to 'pcr/lessc/PKGBUILD')
-rw-r--r-- | pcr/lessc/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/lessc/PKGBUILD b/pcr/lessc/PKGBUILD new file mode 100644 index 000000000..ec9f8cf90 --- /dev/null +++ b/pcr/lessc/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=lessc +pkgver=1.3.1 +pkgrel=1 +_commit=9a46f67f44ca908f7da36036c5b3ae83ef8188dc +pkgdesc="A standalone compiler for the LESS CSS language." +arch=('any') +url="http://lesscss.org/" +license=('Apache') +depends=('nodejs') +source=($pkgname-$pkgver.tar.gz::https://github.com/cloudhead/less.js/archive/$_commit.tar.gz) + +build() { + cd "$srcdir/less.js-$_commit" + make less +} + +package() { + cd "$srcdir/less.js-$_commit" + install -d "$pkgdir/usr/lib/node" + install -d "$pkgdir/usr/bin" + cp -r lib/less "$pkgdir/usr/lib/node/less" + ln -s "node/less" "$pkgdir/usr/lib/less" + install -Dm755 "bin/lessc" "$pkgdir/usr/bin/lessc" +} + +sha256sums=('43a2df3466c08e6d30ae0cd847febf981ef5d15d4d9d6ce86c1b1901154bb22a') |