[arch-commits] Commit in vala/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Sep 12 23:21:01 UTC 2017


    Date: Tuesday, September 12, 2017 @ 23:21:00
  Author: heftig
Revision: 305398

0.38.1-1

Modified:
  vala/trunk/PKGBUILD

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++--------------------
 1 file changed, 29 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-12 21:58:32 UTC (rev 305397)
+++ PKGBUILD	2017-09-12 23:21:00 UTC (rev 305398)
@@ -1,41 +1,50 @@
+# $Id$
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
 # Contributor: Timm Preetz <timm at preetz.us>
 
 pkgname=vala
-_pkgver=0.36
-pkgver=${_pkgver}.4
+pkgver=0.38.1
 pkgrel=1
-pkgdesc='Compiler for the GObject type system'
-url='https://wiki.gnome.org/Projects/Vala'
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('glib2')
-makedepends=('libxslt' 'vala')
-checkdepends=('dbus' 'libx11' 'gobject-introspection')
-source=(${pkgname}-${pkgver}.tar.xz::https://download.gnome.org/sources/vala/${_pkgver}/vala-${pkgver}.tar.xz)
-sha256sums=('e9f23ce711c1a72ce664d10946fbc5953f01b0b7f2a3562e7a01e362d86de059')
-sha512sums=('cc804b9ad0bda4968660084c5d5e38761b0d478a6c504d3d2e6188fdd2deef4a4315d7278191f19b3bcbee66e0b02733deb6050d168305c85cef8f203ecc13ac')
+pkgdesc="Compiler for the GObject type system"
+url="https://wiki.gnome.org/Projects/Vala"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(glib2 gtk-doc graphviz libgee ttf-dejavu pkg-config gcc)
+makedepends=(libxslt vala git help2man)
+checkdepends=(dbus libx11 gobject-introspection)
+provides=(valadoc)
+conflicts=(valadoc)
+replaces=(valadoc)
+_commit=985b6dbea8bbe52648350502347ba15d8de0f647  # tags/0.38.1^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}-${pkgver}
-  autoreconf -fiv
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-vapigen
+  cd $pkgname
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname
   make check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list