diff options
author | Dimitris Kiziridis | 2020-04-04 22:35:20 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-04-04 22:35:20 +0300 |
commit | 5f13689db4611330d798fa673fe69b02426ca745 (patch) | |
tree | 3364d31f7a7a83ad8b0c20da8be9232b9f57dc64 | |
parent | 99a98e6f5acc9a329f066dc3e32c64202472dc7b (diff) | |
download | aur-5f13689db4611330d798fa673fe69b02426ca745.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -4,7 +4,7 @@ pkgbase = goweight-bin pkgrel = 1 url = https://github.com/jondot/goweight arch = x86_64 - license = Apache2 + license = Apache-2.0 provides = goweight source = https://github.com/jondot/goweight/releases/download/v1.0.5/goweight_1.0.5_Linux_x86_64.tar.gz md5sums = 7fee7ed7f4da52605f3fbeccf08b19a5 @@ -6,14 +6,13 @@ pkgrel=1 pkgdesc='A tool to analyze and troubleshoot a Go binary size' arch=('x86_64') url="https://github.com/jondot/goweight" -license=('Apache2') +license=('Apache-2.0') provides=('goweight') source=("${url}/releases/download/v${pkgver}/goweight_${pkgver}_Linux_x86_64.tar.gz") md5sums=('7fee7ed7f4da52605f3fbeccf08b19a5') package() { - cd "${srcdir}" - install -Dm755 goweight "${pkgdir}/usr/bin/goweight" - install -Dm644 LICENSE* "${pkgdir}/usr/share/licenses/goweight/LICENSE" + install -Dm755 "${srcdir}"/goweight "${pkgdir}/usr/bin/goweight" + install -Dm644 "${srcdir}"/LICENSE* "${pkgdir}/usr/share/licenses/goweight/LICENSE" } # vim:set ts=2 sw=2 et:
\ No newline at end of file |