[arch-commits] Commit in svgcleaner/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Nov 15 12:44:30 UTC 2018
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"
}
More information about the arch-commits
mailing list