diff options
author | Shohei Maruyama | 2023-01-06 04:19:42 +0000 |
---|---|---|
committer | Shohei Maruyama | 2023-01-06 04:19:42 +0000 |
commit | 08d12480e0e9e57b8524f724171ad795c26ff218 (patch) | |
tree | 5feb6afad521daad7c65138189decee18b770f6d | |
parent | db082611d2c12a075405ab69ac1f51224e430678 (diff) | |
download | aur-08d12480e0e9e57b8524f724171ad795c26ff218.tar.gz |
PKGBUILD: Fix license related package errors
This commit fixes the following errors reported by namcap:
* Apache-2.0 is not a common license (it's not in
/usr/share/licenses/common/)
* Symlink (usr/share/licenses/concourse-git/LICENSE) points to
non-existing /usr/share/licenses/common/Apache/license.txt
Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,9 +1,9 @@ pkgbase = concourse pkgver = 7.9.0 - pkgrel = 1 + pkgrel = 2 url = https://concourse-ci.org arch = x86_64 - license = Apache-2.0 + license = custom:Apache-2.0 makedepends = go makedepends = yarn source = concourse-7.9.0.tar.gz::https://github.com/concourse/concourse/archive/v7.9.0.tar.gz @@ -5,10 +5,10 @@ pkgbase='concourse' pkgname=('concourse' 'concourse-fly-cli' 'concourse-resource-types') pkgver=7.9.0 -pkgrel=1 +pkgrel=2 arch=('x86_64') url='https://concourse-ci.org' -license=('Apache-2.0') +license=('custom:Apache-2.0') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/concourse/concourse/archive/v${pkgver}.tar.gz" "https://github.com/concourse/concourse/releases/download/v${pkgver}/concourse-${pkgver}-linux-amd64.tgz") makedepends=('go' 'yarn') @@ -58,7 +58,7 @@ package_concourse() { install -Dm755 init "${pkgdir}/usr/lib/concourse/bin/init" mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s /usr/share/licenses/common/Apache/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" } package_concourse-fly-cli() { @@ -70,7 +70,7 @@ package_concourse-fly-cli() { install -Dm755 "fly/fly" "${pkgdir}/usr/bin/fly" mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s /usr/share/licenses/common/Apache/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" } package_concourse-resource-types() { |