summaryrefslogtreecommitdiff
path: root/build-support/disabled/vala-bootstrap/PKGBUILD
blob: 40aceda3d87fbb98ae75ec345906ce700dddabb2 (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
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>

pkgname=vala-bootstrap
pkgver=0.16.1
pkgrel=1
pkgdesc='Bootstrapping Compiler for the GObject type system'
url='https://wiki.gnome.org/Projects/Vala'
arch=(i486 i686 pentium4 x86_64)
license=(LGPL)
depends=()
makedepends=(git)
provides=(vala)
conflicts=(vala)
_commit=b2beeacc  # corresponds to 0.16.1
source=("git+https://gitlab.gnome.org/Archive/vala-bootstrap.git#commit=$_commit")
sha256sums=('SKIP')

prepare() {
  cd $pkgname
}

build() {
  cd $pkgname
  ./configure --prefix=/usr --disable-build-from-vala
  make
}

check() {
  cd $pkgname
# tests are horribly broken
#  make check
}

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