summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase2020-08-11 08:58:24 +0200
committerSven-Hendrik Haase2020-08-11 08:58:24 +0200
commit58e25be2f41e83fa4a1569caf5ebed10a1c3209e (patch)
tree49a4aa3dfc7641c8ed837e1656cfe84c4d082ef6
parent6fd4e7435d1d9e3a31d3954081d18804375f7b84 (diff)
downloadaur-glsl-language-server.tar.gz
0.3.5
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5feba92242e..798b4bcebb9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = glsl-language-server
pkgdesc = A language server implementation for GLSL
- pkgver = 0.3.4
+ pkgver = 0.3.5
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.4
+ depends = gcc-libs
+ source = git+git://github.com/svenstaro/glsl-language-server.git#tag=0.3.5
sha512sums = SKIP
pkgname = glsl-language-server
diff --git a/PKGBUILD b/PKGBUILD
index e0e241e4361..4e026fd3e5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
pkgname=glsl-language-server
-pkgver=0.3.4
+pkgver=0.3.5
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)
+depends=('gcc-libs')
+makedepends=('cmake' 'git')
source=(git+git://github.com/svenstaro/glsl-language-server.git#tag=${pkgver})
sha512sums=('SKIP')
@@ -20,17 +21,17 @@ prepare() {
build() {
cd "$pkgname"
- [[ -d build ]] && rm -rf build
- mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make
+ cmake . \
+ -Bbuild \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make -C build
}
package() {
- cd "$pkgname"/build
+ cd "$pkgname"
- make DESTDIR="$pkgdir/" install
- install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ make -C build DESTDIR="$pkgdir/" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et: