blob: b4c07b38ffa91cc4e3161b9fb4c9f8e7593799f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Simon Wilper <sxw@chronowerks.de>
# Maintainer: wicast <wicastchen@hotmail.com>
pkgname=clessc-git
pkgver=r637.4176967
pkgrel=1
pkgdesc="A C++ implementation of the LESS CSS Compiler"
arch=('x86_64')
url="https://github.com/BramvdKroef/clessc"
license=('GPLv3')
groups=()
depends=('libpng' 'libjpeg' 'google-glog')
makedepends=('git')
provides=('clessc')
conflicts=('clessc')
replaces=('clessc')
source=("${pkgname%-git}::git+https://github.com/BramvdKroef/clessc")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/${pkgname%-git}/build"
make DESTDIR="$pkgdir" install
}
|