summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2019-12-26 00:17:15 +0100
committerFabioLolix2019-12-26 00:17:15 +0100
commitac44a82d765aa324dda8f82e1e437097c743b6ff (patch)
treee8213ac182ab5e0b1a02e2e7796ba2dd852bfcbc
downloadaur-vala-0.42.tar.gz
v0.42.7
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD36
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..79644843c8e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = vala-0.42
+ pkgdesc = Compiler for the GObject type system
+ pkgver = 0.42.7
+ pkgrel = 1
+ url = https://wiki.gnome.org/Projects/Vala
+ arch = x86_64
+ license = LGPL
+ checkdepends = dbus
+ checkdepends = libx11
+ checkdepends = gobject-introspection
+ makedepends = libxslt
+ makedepends = vala
+ makedepends = git
+ makedepends = help2man
+ makedepends = autoconf-archive
+ depends = glib2
+ depends = gtk-doc
+ depends = graphviz
+ depends = ttf-font
+ depends = pkg-config
+ depends = gcc
+ provides = vala
+ provides = valadoc
+ provides = libvala-0.42.so
+ provides = libvaladoc-0.42.so
+ conflicts = vala
+ conflicts = valadoc
+ source = https://download.gnome.org/sources/vala/0.42/vala-0.42.7.tar.xz
+ sha256sums = 03dd5226e373eb1f0a602411f87e5c64213e2791139ce23f0fa8d0dbf4d23309
+
+pkgname = vala-0.42
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7339bfe4df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Timm Preetz <timm@preetz.us>
+
+pkgname=vala-0.42
+pkgver=0.42.7
+pkgrel=1
+pkgdesc='Compiler for the GObject type system'
+url='https://wiki.gnome.org/Projects/Vala'
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 gtk-doc graphviz ttf-font pkg-config gcc)
+makedepends=(libxslt vala git help2man autoconf-archive)
+checkdepends=(dbus libx11 gobject-introspection)
+provides=(vala valadoc libvala-${pkgver%.*}.so libvaladoc-${pkgver%.*}.so)
+conflicts=(vala valadoc)
+source=("https://download.gnome.org/sources/vala/0.42/vala-${pkgver}.tar.xz")
+sha256sums=('03dd5226e373eb1f0a602411f87e5c64213e2791139ce23f0fa8d0dbf4d23309')
+
+build() {
+ cd "vala-$pkgver"
+ ./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd "vala-$pkgver"
+ make check
+}
+
+package() {
+ cd "vala-$pkgver"
+ make DESTDIR="$pkgdir" install
+}