diff options
author | Benedikt Rips | 2021-02-13 12:57:41 +0100 |
---|---|---|
committer | Benedikt Rips | 2021-04-12 15:06:44 +0200 |
commit | 443c09bd2fb5d992245caee942333003a61e1414 (patch) | |
tree | 5b236860590162ac806d9adba5d5d8dda030bb6d | |
parent | 162d77ed87d3da1832c3863f0d2b9df8cfda9341 (diff) | |
download | aur-443c09bd2fb5d992245caee942333003a61e1414.tar.gz |
Fix the dangling symlink
Putting the icon into the package tree with `mv` creates a symbolic link
to the source file in the directory, where the package is built.
This was reported by namcap.
Furthermore, refer to icon file in the `$srcdir`.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = zenkit pkgdesc = A platform for collaboration and project management pkgver = 20201217 - pkgrel = 1 + pkgrel = 2 url = https://zenkit.com arch = x86_64 license = Commercial @@ -19,4 +19,3 @@ pkgbase = zenkit sha512sums = 5b824efd2de3d8b213d850b5b1b2920583c7b2b9c25e77667b041aa65f97b368c6da888cc4ae700d11fa336a9668ddfe2ad062caa4ce1af83dfbf50fa4c103fb pkgname = zenkit - @@ -1,11 +1,12 @@ # Maintainer: Chris Winkler <quidnovum [at] [common mail ending from search engine company]> # Contributor: Felix Golatofski <contact@xdfr.de> # Contributor: Lukas Becker <lukasbecker2 [at] [common mail ending from the company behind the most used search engine]> +# Contributor: Benedikt Rips <benedikt.rips@gmail.com> pkgbase=zenkit pkgname=zenkit pkgver=20201217 -pkgrel=1 +pkgrel=2 pkgdesc='A platform for collaboration and project management' arch=('x86_64') url='https://zenkit.com' @@ -30,7 +31,7 @@ package() { mkdir "${pkgdir}/opt/${pkgbase}" tar xpf zenkit-base-linux.tar.gz -C "${pkgdir}/opt/${pkgbase}/" --strip-components=1 - mv favicon.ico "${pkgdir}/opt/${pkgbase}/zenkit.ico" + install "${srcdir}/favicon.ico" "${pkgdir}/opt/${pkgbase}/zenkit.ico" ln -s "/opt/${pkgbase}/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}" } |