Date: Monday, October 7, 2019 @ 23:38:40
  Author: jleclanche
Revision: 514176

upgpkg: heimdall 1.4.2-2

Upstream release 1.4.2

Modified:
  heimdall/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-10-07 23:38:18 UTC (rev 514175)
+++ PKGBUILD    2019-10-07 23:38:40 UTC (rev 514176)
@@ -1,6 +1,8 @@
 # Maintainer: Jerome Leclanche <jer...@leclan.ch>
 pkgname=heimdall
+_pkgname=Heimdall
 pkgver=1.4.2
+_pkgver=v$pkgver
 pkgrel=2
 pkgdesc="Tool suite used to flash firmware (ROMs) onto Samsung Galaxy S 
devices"
 arch=("x86_64")
@@ -10,16 +12,16 @@
 makedepends=("cmake")
 optdepends=("android-udev: Udev rules to connect Android devices to your linux 
box")
 source=(
-       
"$pkgname-$pkgver.tar.gz::https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v$pkgver/Heimdall-v$pkgver.tar.gz";
+       
"$pkgname-$pkgver.tar.gz::https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v$pkgver/$_pkgname-$_pkgver.tar.gz";
        "heimdall.desktop"
 )
 sha256sums=(
-       "589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8"
+       "9f14beaca4a0ee6459b972c30eec1baccbd057726caafe4cbba6c30e0d5e7d56"
        "439cea1a8976b9b589ffe4030a084243bcc5e937dcb9c571cdb94d3ff08b4fb4"
 )
 
 build() {
-       cd "$srcdir/$pkgname-$pkgver"
+       cd "$srcdir/$_pkgname-$_pkgver"
 
        cmake . -DCMAKE_INSTALL_PREFIX="/usr"
        make
@@ -26,7 +28,7 @@
 }
 
 package() {
-       cd "$srcdir/$pkgname-$pkgver"
+       cd "$srcdir/$_pkgname-$_pkgver"
 
        # Install desktop file
        install -m644 -D "$srcdir/heimdall.desktop" 
"$pkgdir/usr/share/applications/heimdall.desktop"

Reply via email to