Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-13 17:39:04 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-13 17:39:04 +0200
commit51a4cbdebce61a04d306743c6b8a1e480f37f2a4 (patch)
tree481333c19a85e4f438a61f6ee441027b847e8d96 /build-support
parent108e25a0bac2bcc1071755af86b1436b932191ca (diff)
moved vala and vala-bootstrap to disabled build-support (will not need in anymore for now)
Diffstat (limited to 'build-support')
-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