diff options
author | Dimitris Kiziridis | 2020-05-13 01:45:12 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-13 01:45:12 +0300 |
commit | ea31d9ee9d6fbbdbc5a3fbf2c2ef4327da482f64 (patch) | |
tree | 7af2c0dd3a66a1f0992b4f21f3fb0a8eb20dc5c0 | |
parent | eb3c24223dc095c7e84da1af7c0cbe4e40b9fa79 (diff) | |
download | aur-ea31d9ee9d6fbbdbc5a3fbf2c2ef4327da482f64.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 9 insertions, 4 deletions
@@ -6,8 +6,10 @@ pkgbase = gomplate-bin arch = x86_64 license = MIT provides = gomplate - source = https://github.com/hairyhenderson/gomplate/releases/download/v3.6.0/gomplate_linux-amd64 - md5sums = 7039b07e5b5130b1bc8ee378f5d2eec4 + source = gomplate-bin-3.6.0::https://github.com/hairyhenderson/gomplate/releases/download/v3.6.0/gomplate_linux-amd64 + source = LICENSE::https://github.com/hairyhenderson/gomplate/raw/master/LICENSE + sha256sums = 0ec9907db0e31842d954e7644c928d1b5e0eaf0f112096a0fc0d923de34cb704 + sha256sums = 623198523f10b6c9b0473c832634cd678b17492e77745c453aaec3f6f9d4fc20 pkgname = gomplate-bin @@ -8,10 +8,13 @@ arch=('x86_64') url="https://gomplate.ca" license=('MIT') provides=('gomplate') -source=("https://github.com/hairyhenderson/gomplate/releases/download/v${pkgver}/gomplate_linux-amd64") -md5sums=('7039b07e5b5130b1bc8ee378f5d2eec4') +source=("${pkgname}-${pkgver}::https://github.com/hairyhenderson/gomplate/releases/download/v${pkgver}/gomplate_linux-amd64" + 'LICENSE::https://github.com/hairyhenderson/gomplate/raw/master/LICENSE') +sha256sums=('0ec9907db0e31842d954e7644c928d1b5e0eaf0f112096a0fc0d923de34cb704' + '623198523f10b6c9b0473c832634cd678b17492e77745c453aaec3f6f9d4fc20') package() { install -Dm755 "${srcdir}"/gomplate* "${pkgdir}/usr/bin/gomplate" + install -Dm644 "${srcdir}"/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et:
\ No newline at end of file |