Created
July 18, 2013 04:08
-
-
Save Oreolek/6026653 to your computer and use it in GitHub Desktop.
lessc 1.4.1 pkgbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> | |
# updated for 1.4.1 by Oreolek | |
pkgname=lessc | |
pkgver=1.4.1 | |
pkgrel=1 | |
_commit=290376f4eb57d54fbcffec97e272f42f40bb04c0 | |
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" | |
} | |
md5sums=('7dae81e4cd8f8be74215b1d2e80927e9') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment