summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61e55065ef978e0aa5e3b657bb3611d4ab4a43e7 (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
38
39
40
# Maintainer: Fernando Fernández <fernando@softwareperonista.com.ar>
_pkgname=gvls
pkgname=${_pkgname}-git
pkgver=0.12.0
pkgrel=1
pkgdesc='GNOME Vala Language Server'
arch=(i686 x86_64)
url='https://gitlab.gnome.org/esodan/gvls'
license=(LGPL3)
conflicts=(${_pkgname})
provides=(${_pkgname})
depends=(vala libgee libpeas gtksourceview3 jsonrpc-glib)
makedepends=(git meson)
optdepends=()
groups=()
source=("git+https://gitlab.gnome.org/esodan/gvls.git")
sha256sums=('SKIP')

pkgver() {
  cd ${_pkgname}

  git describe --tags  | sed 's/^gvls-//;s/_/./g;s/-/+/g'
}

prepare() {
  cd ${_pkgname}

# patch -Np1 -i ../
}

build() {
  arch-meson --wrap-mode=nofallback ${_pkgname} build \
             -Ddisable-valadocs=false \

  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" meson install -C build
}