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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jan 15 22:00:20 UTC 2017


    Date: Sunday, January 15, 2017 @ 22:00:19
  Author: svenstaro
Revision: 207499

Move tokei from AUR

Added:
  tokei/
  tokei/repos/
  tokei/trunk/
  tokei/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Added: tokei/trunk/PKGBUILD
===================================================================
--- tokei/trunk/PKGBUILD	                        (rev 0)
+++ tokei/trunk/PKGBUILD	2017-01-15 22:00:19 UTC (rev 207499)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=tokei
+pkgver=5.0.6
+pkgrel=1
+pkgdesc='A blazingly fast CLOC(Count Lines Of Code) program'
+arch=('i686' 'x86_64')
+url="https://github.com/Aaronepower/tokei"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust' 'cargo')
+source=("https://github.com/Aaronepower/tokei/archive/${pkgver}.tar.gz")
+md5sums=('ebd82544c0f33fb8c919a8e5fd4e84a6')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    cargo build --release
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
+  }



More information about the arch-commits mailing list