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

Jan Steffens heftig at gemini.archlinux.org
Thu Dec 16 11:36:40 UTC 2021


    Date: Thursday, December 16, 2021 @ 11:36:40
  Author: heftig
Revision: 432591

0.54.5-1

Modified:
  vala/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-16 11:33:53 UTC (rev 432590)
+++ PKGBUILD	2021-12-16 11:36:40 UTC (rev 432591)
@@ -4,7 +4,7 @@
 # Contributor: Timm Preetz <timm at preetz.us>
 
 pkgname=vala
-pkgver=0.54.4
+pkgver=0.54.5
 pkgrel=1
 pkgdesc='Compiler for the GObject type system'
 url='https://wiki.gnome.org/Projects/Vala'
@@ -16,22 +16,22 @@
 provides=(valadoc libvala-${pkgver%.*}.so libvaladoc-${pkgver%.*}.so)
 conflicts=(valadoc)
 replaces=(valadoc)
-_commit=c922bdce3df8d4aa3afd488b584b70d614cc8ba4  # tags/0.54.4^0
+_commit=734def5abb9fdea16276ea66d6c7eecba25bfa0a  # tags/0.54.5^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'
+  cd vala
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd vala
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
+  cd vala
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -38,12 +38,12 @@
 }
 
 check() {
-  cd $pkgname
+  cd vala
   make check
 }
 
 package() {
-  cd $pkgname
+  cd vala
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list