[arch-commits] Commit in tokei/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Jan 19 08:27:37 UTC 2017
Date: Thursday, January 19, 2017 @ 08:27:36
Author: svenstaro
Revision: 207998
Add proper licenses
Modified:
tokei/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-19 08:25:32 UTC (rev 207997)
+++ PKGBUILD 2017-01-19 08:27:36 UTC (rev 207998)
@@ -1,11 +1,11 @@
# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
pkgname=tokei
pkgver=5.0.6
-pkgrel=1
+pkgrel=2
pkgdesc='A blazingly fast CLOC(Count Lines Of Code) program'
arch=('i686' 'x86_64')
url="https://github.com/Aaronepower/tokei"
-license=('MIT')
+license=('MIT' 'Apache')
depends=('gcc-libs')
makedepends=('rust' 'cargo')
source=("https://github.com/Aaronepower/tokei/archive/v${pkgver}.tar.gz")
@@ -21,4 +21,7 @@
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 target/release/tokei "${pkgdir}/usr/bin/tokei"
- }
+
+ install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+ install -Dm644 LICENSE-APACHE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
+}
More information about the arch-commits
mailing list