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

Alexander Rødseth arodseth at archlinux.org
Wed Aug 1 08:41:59 UTC 2018


    Date: Wednesday, August 1, 2018 @ 08:41:59
  Author: arodseth
Revision: 366206

upgpkg: shellharden 4.0.0-1

Modified:
  shellharden/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 08:40:40 UTC (rev 366205)
+++ PKGBUILD	2018-08-01 08:41:59 UTC (rev 366206)
@@ -2,27 +2,28 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 
 pkgname=shellharden
-pkgver=3.2
+pkgver=4.0.0
 pkgrel=1
 pkgdesc='Bash linter and syntax highlighter'
 arch=('x86_64')
 url='https://github.com/anordal/shellharden'
 license=('MPL')
-makedepends=('cmake' 'rust')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('7c6c3c59f47c63decddc820ad9c05a542d21ef389945444d0968144ab8dc6200')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v${pkgver/.0}.tar.gz")
+sha256sums=('91660e4908bd07105f091a62e6f77bc9ed42045096b38abe31503cd2609cb7a0')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname-${pkgver/.0}"
 
   cargo build --release
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname-${pkgver/.0}"
 
   install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
+# getver: github.com/anordal/shellharden/blob/master/Cargo.toml
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list