Date: Thursday, November 15, 2018 @ 12:44:29
  Author: jelle
Revision: 407709

remove unrequired ${srcdir}, add note about Cargo,lock

Modified:
  svgcleaner/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-15 12:27:58 UTC (rev 407708)
+++ PKGBUILD    2018-11-15 12:44:29 UTC (rev 407709)
@@ -14,12 +14,13 @@
 sha256sums=('dcf8dbc8939699e2e82141cb86688b6cd09da8cae5e18232ef14085c2366290c')
 
 build() {
-  cd "${srcdir}/svgcleaner-${pkgver}/src/"
-  cargo clean
+  cd "svgcleaner-${pkgver}/src/"
+  # Add --locked when tarball contains a Cargo.lock
   cargo build --release
 }
 
+
 package() {
-  cd "${srcdir}/svgcleaner-${pkgver}/target/release"
+  cd "svgcleaner-${pkgver}/target/release"
   install -Dm755 "svgcleaner" "${pkgdir}/usr/bin/svgcleaner"
 }

Reply via email to