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

Antonio Rojas arojas at archlinux.org
Wed Apr 15 15:53:32 UTC 2020


    Date: Wednesday, April 15, 2020 @ 15:53:32
  Author: arojas
Revision: 380370

Update to 3.9.0.a

Modified:
  libqalculate/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-15 13:14:16 UTC (rev 380369)
+++ PKGBUILD	2020-04-15 15:53:32 UTC (rev 380370)
@@ -2,7 +2,8 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=libqalculate
-pkgver=3.9.0
+_pkgver=3.9.0a
+pkgver=3.9.0.a
 pkgrel=1
 pkgdesc="Multi-purpose desktop calculator"
 arch=(x86_64)
@@ -11,16 +12,16 @@
 depends=(libxml2 curl mpfr)
 makedepends=(intltool doxygen)
 optdepends=('gnuplot: for plotting support')
-source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('d9d219e74314f863811763be0518f05362dc0b084222728786d8639fadce37dd')
+source=(https://github.com/Qalculate/libqalculate/releases/download/v${_pkgver/a/}/$pkgname-$_pkgver.tar.gz)
+sha256sums=('f46a5f99500337be96ee1cac4310a522ed37a76161a828d343f0229441e2cbf8')
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname-${_pkgver/a/}
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname-${_pkgver/a/}
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list