Date: Sunday, March 11, 2018 @ 17:55:12 Author: heftig Revision: 318566
archrelease: copy trunk to gnome-unstable-x86_64 Added: vala/repos/gnome-unstable-x86_64/ vala/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318565, vala/trunk/PKGBUILD) ----------+ PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) Copied: vala/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318565, vala/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2018-03-11 17:55:12 UTC (rev 318566) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Timm Preetz <t...@preetz.us> + +pkgname=vala +pkgver=0.40.0 +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) +checkdepends=(dbus libx11 gobject-introspection) +provides=(valadoc) +conflicts=(valadoc) +replaces=(valadoc) +_commit=3ae57ab3ae448815e61da34fbd36a14cae679336 # tags/0.40.0^0 +source=("git+https://git.gnome.org/browse/vala#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +check() { + cd $pkgname + make check +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} + +# vim: ts=2 sw=2 et: