[arch-commits] Commit in tokei/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Sep 21 23:18:28 UTC 2019


    Date: Saturday, September 21, 2019 @ 23:18:28
  Author: svenstaro
Revision: 511444

archrelease: copy trunk to community-x86_64

Added:
  tokei/repos/community-x86_64/PKGBUILD
    (from rev 511443, tokei/trunk/PKGBUILD)
Deleted:
  tokei/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   55 ++++++++++++++++++++++++++++---------------------------
 1 file changed, 28 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-21 23:18:23 UTC (rev 511443)
+++ PKGBUILD	2019-09-21 23:18:28 UTC (rev 511444)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=tokei
-pkgver=10.0.1
-pkgrel=1
-pkgdesc='A blazingly fast CLOC (Count Lines Of Code) program'
-arch=('x86_64')
-url="https://github.com/Aaronepower/tokei"
-license=('MIT' 'Apache')
-depends=('gcc-libs')
-makedepends=('rust' 'cargo')
-source=("https://github.com/Aaronepower/tokei/archive/v${pkgver}.tar.gz")
-sha512sums=('e3bc7dd3d1baffc7be0c42541b715ebe5f7357269904589d7f424b299ccb5bc3a1d5aa8c3635c83d82d4cb7f342cd02a68223190491c56bd8574adfe925c3c29')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    cargo build --release
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
-
-    install -Dm644 LICENCE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
-    install -Dm644 LICENCE-APACHE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
-}

Copied: tokei/repos/community-x86_64/PKGBUILD (from rev 511443, tokei/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-21 23:18:28 UTC (rev 511444)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=tokei
+pkgver=10.0.1
+pkgrel=2
+pkgdesc='A blazingly fast CLOC (Count Lines Of Code) program'
+arch=('x86_64')
+url="https://github.com/Aaronepower/tokei"
+license=('MIT' 'Apache')
+depends=('gcc-libs')
+makedepends=('rust' 'cargo')
+source=("https://github.com/Aaronepower/tokei/archive/v${pkgver}.tar.gz")
+sha512sums=('e3bc7dd3d1baffc7be0c42541b715ebe5f7357269904589d7f424b299ccb5bc3a1d5aa8c3635c83d82d4cb7f342cd02a68223190491c56bd8574adfe925c3c29')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    # --locked won't work until https://github.com/XAMPPRocky/tokei/issues/360 is fixed.
+    cargo build --release --features all
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
+
+    install -Dm644 LICENCE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+    install -Dm644 LICENCE-APACHE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
+}



More information about the arch-commits mailing list