summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e83b0ac9b06
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = vala-bootstrap
+ pkgdesc = Bootstrapping Compiler for the GObject type system
+ pkgver = 0.16.1
+ pkgrel = 1
+ url = https://wiki.gnome.org/Projects/Vala
+ arch = i486
+ arch = i686
+ arch = pentium4
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ provides = vala
+ conflicts = vala
+ source = git+https://gitlab.gnome.org/Archive/vala-bootstrap.git#commit=b2beeacc
+ sha256sums = SKIP
+
+pkgname = vala-bootstrap
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..40aceda3d87
--- /dev/null
+++ b/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
+}