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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Jan 22 04:27:29 UTC 2020


    Date: Wednesday, January 22, 2020 @ 04:27:28
  Author: svenstaro
Revision: 553352

upgpkg: binaryen 1:90-1: Back to other version format

I asked upstream and the concensus seems to be to use this version format. https://github.com/WebAssembly/binaryen/issues/2606

Modified:
  binaryen/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-22 03:48:52 UTC (rev 553351)
+++ PKGBUILD	2020-01-22 04:27:28 UTC (rev 553352)
@@ -3,7 +3,7 @@
 
 pkgname=binaryen
 epoch=1
-pkgver=1.39.1
+pkgver=90
 pkgrel=1
 pkgdesc="Compiler infrastructure and toolchain library for WebAssembly, in C++"
 arch=('x86_64')
@@ -10,17 +10,17 @@
 url="https://github.com/WebAssembly/binaryen"
 license=('MIT')
 makedepends=(cmake ninja python git)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/WebAssembly/binaryen/archive/${pkgver}.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/WebAssembly/binaryen/archive/version_${pkgver}.tar.gz"
         "binaryen.sh")
-sha384sums=('4c92a4d6e798cf6f4c472ff7370eea2b4ea17fb7355acf34f2bf17901aa689ad208f1ce4930f28323c8c030b43f68366'
+sha384sums=('0e041c75c870ab0d1462b6dc4b9460daa3a7949e8eba1f931a7b8c0ae1d016158b442089de8a34f2738586107e7e394d'
             'fdf76d46e6ab9b915212bbca7c29e624e209de911b18ecaccc40b99a00360cd12b261f96c8655f02ec4fd28cedffbcac')
 
 prepare() {
-    mkdir binaryen-${pkgver}/build
+    mkdir binaryen-version_${pkgver}/build
 }
 
 build() {
-    cd binaryen-${pkgver}/build
+    cd binaryen-version_${pkgver}/build
 
     cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr ..
     ninja
@@ -27,7 +27,7 @@
 }
 
 package() {
-    cd binaryen-${pkgver}/build
+    cd binaryen-version_${pkgver}/build
     DESTDIR=${pkgdir} ninja install
 
     install -Dm755 $srcdir/binaryen.sh $pkgdir/etc/profile.d/binaryen.sh



More information about the arch-commits mailing list