Date: Sunday, January 15, 2017 @ 22:05:52
  Author: svenstaro
Revision: 207501

archrelease: copy trunk to community-i686, community-x86_64

Added:
  tokei/repos/community-i686/
  tokei/repos/community-i686/PKGBUILD
    (from rev 207500, tokei/trunk/PKGBUILD)
  tokei/repos/community-x86_64/
  tokei/repos/community-x86_64/PKGBUILD
    (from rev 207500, tokei/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   24 ++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

Copied: tokei/repos/community-i686/PKGBUILD (from rev 207500, 
tokei/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2017-01-15 22:05:52 UTC (rev 207501)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <s...@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/v${pkgver}.tar.gz";)
+sha512sums=('6a01fc74c1be6aad7914f9caba62d2bb224aeffd6463705307ba3c787208042974e93f7eed47f336bce846b2bad360425ae62df5e525d1a7ee5b29cc7d4b2007')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    cargo build --release
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
+  }

Copied: tokei/repos/community-x86_64/PKGBUILD (from rev 207500, 
tokei/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2017-01-15 22:05:52 UTC (rev 207501)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <s...@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/v${pkgver}.tar.gz";)
+sha512sums=('6a01fc74c1be6aad7914f9caba62d2bb224aeffd6463705307ba3c787208042974e93f7eed47f336bce846b2bad360425ae62df5e525d1a7ee5b29cc7d4b2007')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    cargo build --release
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
+  }

Reply via email to