Date: Tuesday, September 21, 2021 @ 17:28:49 Author: heftig Revision: 424486
archrelease: copy trunk to testing-x86_64 Added: vala/repos/testing-x86_64/ vala/repos/testing-x86_64/PKGBUILD (from rev 424485, vala/trunk/PKGBUILD) ----------+ PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) Copied: vala/repos/testing-x86_64/PKGBUILD (from rev 424485, vala/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-09-21 17:28:49 UTC (rev 424486) @@ -0,0 +1,50 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Timm Preetz <t...@preetz.us> + +pkgname=vala +pkgver=0.54.1 +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=(valadoc libvala-${pkgver%.*}.so libvaladoc-${pkgver%.*}.so) +conflicts=(valadoc) +replaces=(valadoc) +_commit=15380150e63402e41609346537825d64d1458eea # tags/0.54.1^0 +source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;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: