diff options
author | FabioLolix | 2020-05-15 17:09:16 +0200 |
---|---|---|
committer | FabioLolix | 2020-05-15 17:09:16 +0200 |
commit | 7cfd9f174993f17a329d976f44b6953a6fe59325 (patch) | |
tree | 71bbf38f7681d90334d88f1e093ea4ad7795b15e /PKGBUILD | |
download | aur-7cfd9f174993f17a329d976f44b6953a6fe59325.tar.gz |
v0.42.7
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fc5e9a905754 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@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=vala0.42 +pkgver=0.42.7 +pkgrel=1 +pkgdesc="Compiler for the GObject type system" +url="https://wiki.gnome.org/Projects/Vala" +arch=(x86_64 i686 arm armv6h armv7h aarch64) +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 +} |