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

Levente Polyak anthraxx at archlinux.org
Wed Jul 12 21:10:25 UTC 2017


    Date: Wednesday, July 12, 2017 @ 21:10:25
  Author: anthraxx
Revision: 300213

upgpkg: vala 0.36.4-1

Modified:
  vala/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-12 21:00:05 UTC (rev 300212)
+++ PKGBUILD	2017-07-12 21:10:25 UTC (rev 300213)
@@ -3,7 +3,8 @@
 # Contributor: Timm Preetz <timm at preetz.us>
 
 pkgname=vala
-pkgver=0.36.3
+_pkgver=0.36
+pkgver=${_pkgver}.4
 pkgrel=1
 pkgdesc='Compiler for the GObject type system'
 url='https://wiki.gnome.org/Projects/Vala'
@@ -10,35 +11,30 @@
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('glib2')
-makedepends=('libxslt' 'git' 'vala')
+makedepends=('libxslt' 'vala')
 checkdepends=('dbus' 'libx11' 'gobject-introspection')
-_commit=b07797b3b60e426cb38fe274c7e1d4885a23d2b3  # tags/0.36.3^0
-source=("git+https://git.gnome.org/browse/vala#commit=${_commit}")
-sha256sums=('SKIP')
+source=(${pkgname}-${pkgver}.tar.xz::https://download.gnome.org/sources/vala/${_pkgver}/vala-${pkgver}.tar.xz)
+sha256sums=('e9f23ce711c1a72ce664d10946fbc5953f01b0b7f2a3562e7a01e362d86de059')
+sha512sums=('cc804b9ad0bda4968660084c5d5e38761b0d478a6c504d3d2e6188fdd2deef4a4315d7278191f19b3bcbee66e0b02733deb6050d168305c85cef8f203ecc13ac')
 
-pkgver() {
-  cd ${pkgname}
-  git describe --tags | sed 's/-/+/g'
-}
-
 prepare() {
-  cd ${pkgname}
-  NOCONFIGURE=1 ./autogen.sh
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
 }
 
 build() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --enable-vapigen
   make
 }
 
 check() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   make check
 }
 
 package() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 }
 



More information about the arch-commits mailing list