summaryrefslogtreecommitdiff
path: root/build-support/disabled
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/disabled')
-rw-r--r--build-support/disabled/vala-bootstrap/PKGBUILD37
-rw-r--r--build-support/disabled/vala/PKGBUILD5
2 files changed, 42 insertions, 0 deletions
diff --git a/build-support/disabled/vala-bootstrap/PKGBUILD b/build-support/disabled/vala-bootstrap/PKGBUILD
new file mode 100644
index 00000000..40aceda3
--- /dev/null
+++ b/build-support/disabled/vala-bootstrap/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/build-support/disabled/vala/PKGBUILD b/build-support/disabled/vala/PKGBUILD
new file mode 100644
index 00000000..0f6ce63a
--- /dev/null
+++ b/build-support/disabled/vala/PKGBUILD
@@ -0,0 +1,5 @@
+# bootstrapping vala with vala-bootstrap (only for i486 for now)
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//vala/})
+ makedepends+=(vala-bootstrap)
+fi