summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase2017-11-29 00:43:15 +0100
committerSven-Hendrik Haase2017-11-29 00:43:15 +0100
commit0085a2631062f56c45c9d78462083268b1afe868 (patch)
treebd138c044902a11fc3bbef54aa8f5eb206ddbaf3
downloadaur-0085a2631062f56c45c9d78462083268b1afe868.tar.gz
0.3.0
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD36
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ed760cc1342
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = glsl-language-server
+ pkgdesc = A language server implementation for GLSL
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/svenstaro/glsl-language-server
+ arch = x86_64
+ license = MIT
+ makedepends = cmake
+ makedepends = git
+ source = git+git://github.com/svenstaro/glsl-language-server.git#tag=0.3.0
+ sha512sums = SKIP
+
+pkgname = glsl-language-server
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70cf3282930
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=glsl-language-server
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="A language server implementation for GLSL"
+arch=('x86_64')
+url="https://github.com/svenstaro/glsl-language-server"
+license=(MIT)
+makedepends=(cmake git)
+source=(git+git://github.com/svenstaro/glsl-language-server.git#tag=${pkgver})
+sha512sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+
+ git submodule update --init
+}
+
+build() {
+ cd "$pkgname"
+
+ [[ -d build ]] && rm -rf build
+ mkdir -p build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$pkgname"/build
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
+