Browse Source

[trunk] -> [testing] 'vala-0.54.1-1' add

master
Dudemanguy 2 months ago
parent
commit
27a075dcf9
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 4
      vala/trunk/PKGBUILD
  2. 50
      vala/x86_64/testing/PKGBUILD

4
vala/trunk/PKGBUILD

@ -4,7 +4,7 @@
# Contributor: Timm Preetz <timm@preetz.us>
pkgname=vala
pkgver=0.52.5
pkgver=0.54.1
pkgrel=1
pkgdesc='Compiler for the GObject type system'
url='https://wiki.gnome.org/Projects/Vala'
@ -16,7 +16,7 @@ checkdepends=(dbus libx11 gobject-introspection)
provides=(valadoc libvala-${pkgver%.*}.so libvaladoc-${pkgver%.*}.so)
conflicts=(valadoc)
replaces=(valadoc)
_commit=f8bad6ef427c15af35e49a92f653f0c84ba989fc # tags/0.52.5^0
_commit=15380150e63402e41609346537825d64d1458eea # tags/0.54.1^0
source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit")
sha256sums=('SKIP')

50
vala/x86_64/testing/PKGBUILD

@ -0,0 +1,50 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Timm Preetz <timm@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:
Loading…
Cancel
Save