summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72507807d9dc524c4981e13b6f69af0b22385557 (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
# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Timm Preetz <timm@preetz.us>

pkgname=vala0.26
_pkgname=vala
pkgver=0.26.2
pkgrel=1
pkgdesc="Compiler for the GObject type system. Legacy version for building Valama against."
url="https://wiki.gnome.org/Projects/Vala"
arch=(i686 x86_64)
license=(LGPL)
depends=(glib2)
provides=("vala=${pkgver}")
conflicts=('vala')
makedepends=(libxslt git vala)
source=("git+https://github.com/GNOME/vala.git#tag=$pkgver")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $_pkgname
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $_pkgname
  ./configure --prefix=/usr --enable-vapigen
  make
}

package() {
  cd $_pkgname
  make DESTDIR="$pkgdir" install
}