summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwicast2015-11-18 22:57:12 +0800
committerwicast2015-11-18 22:57:12 +0800
commite6fe0cfddda654b1246f1d0e69907a4ca5671650 (patch)
tree0f5bb499f85cfa175d163ff0fed41f318fdfbfa3
downloadaur-e6fe0cfddda654b1246f1d0e69907a4ca5671650.tar.gz
init
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD38
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d2dd96ab969
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = clessc-git
+ pkgdesc = A C++ implementation of the LESS CSS Compiler
+ pkgver = r425.9798e3e
+ pkgrel = 1
+ url = https://github.com/BramvdKroef/clessc
+ arch = i386
+ arch = x86_64
+ license = GPLv3
+ makedepends = git
+ depends = libpng
+ depends = libjpeg
+ depends = google-glog
+ provides = nodejs-less
+ provides = clessc
+ conflicts = nodejs-less
+ conflicts = clessc
+ replaces = nodejs-less
+ replaces = clessc
+ source = clessc::git+https://github.com/BramvdKroef/clessc
+ md5sums = SKIP
+
+pkgname = clessc-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..018a3de0814
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c15abe39a00
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: wicast <wicastchen@hotmail.com>
+
+pkgname=clessc-git
+pkgver=r425.9798e3e
+pkgrel=1
+pkgdesc="A C++ implementation of the LESS CSS Compiler"
+arch=('i386' 'x86_64')
+url="https://github.com/BramvdKroef/clessc"
+license=('GPLv3')
+groups=()
+depends=('libpng' 'libjpeg' 'google-glog')
+makedepends=('git')
+provides=("nodejs-less" "clessc")
+conflicts=("nodejs-less" "clessc")
+replaces=("nodejs-less" "clessc")
+backup=()
+options=()
+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}"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" install
+}