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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Mar 21 16:22:29 UTC 2020


    Date: Saturday, March 21, 2020 @ 16:22:27
  Author: svenstaro
Revision: 602802

upgpkg: tokei 11.0.0-1

Modified:
  tokei/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 16:19:46 UTC (rev 602801)
+++ PKGBUILD	2020-03-21 16:22:27 UTC (rev 602802)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 pkgname=tokei
-pkgver=10.1.2
+pkgver=11.0.0
 pkgrel=1
 pkgdesc='A blazingly fast CLOC (Count Lines Of Code) program'
 arch=('x86_64')
@@ -9,13 +9,16 @@
 depends=('gcc-libs')
 makedepends=('rust' 'cargo')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/Aaronepower/tokei/archive/v${pkgver}.tar.gz")
-sha512sums=('328cae05d1b1dd966fb4f47df3550c78c15a8f4db7f3aa9ac3e630e8b61488e5e23ebe4d4f2f07a6db629686dd6db7227628acbb2986aa43ee5fe656eeacc9cc')
+sha512sums=('630eff2fb645c6e8c3b66014dd5787b0c0f7934604c77b093cf0d6070200d553336522db1bd15707a5551a0372266a94593d4756995ad848d0c856a4b49b35e9')
 
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
+    cargo build --release --locked --features all
+}
 
-    # --locked won't work until https://github.com/XAMPPRocky/tokei/issues/360 is fixed.
-    cargo build --release --features all
+check() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    cargo test --release --locked --features all
 }
 
 package() {



More information about the arch-commits mailing list