diff options
author | Dimitris Kiziridis | 2020-05-15 16:20:13 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-15 16:20:13 +0300 |
commit | c3f8755876effe75c340b6c1aa5e6354f0f8e6f4 (patch) | |
tree | 30e26e7d689b367a914fdfb9feea1cecbebdaff0 | |
parent | c4080e4cbc82687f837fa029dba786dddb5a2746 (diff) | |
download | aur-c3f8755876effe75c340b6c1aa5e6354f0f8e6f4.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 = stegify-bin arch = x86_64 license = MIT provides = stegify - source = https://github.com/DimitarPetrov/stegify/releases/download/v1.2/stegify_linux_x86-64 - md5sums = 9dbd74e6f52ed67bad384d57c84033a7 + source = stegify-bin-1.2.tar.gz::https://github.com/DimitarPetrov/stegify/releases/download/v1.2/stegify_linux_x86-64 + source = LICENSE::https://github.com/DimitarPetrov/stegify/raw/master/LICENSE + sha256sums = 1537a356963a8748b3d2f873a20781fb621964b825e8769c56eaf79ded14dba1 + sha256sums = 92e64e90dc5712f5b365728023796dc5521d1c567461a99fb1abf6bbc708a6fb pkgname = stegify-bin @@ -8,10 +8,13 @@ arch=('x86_64') url="https://github.com/DimitarPetrov/stegify" license=('MIT') provides=('stegify') -source=("${url}/releases/download/v1.2/stegify_linux_x86-64") -md5sums=('9dbd74e6f52ed67bad384d57c84033a7') +source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/stegify_linux_x86-64" + 'LICENSE::https://github.com/DimitarPetrov/stegify/raw/master/LICENSE') +sha256sums=('1537a356963a8748b3d2f873a20781fb621964b825e8769c56eaf79ded14dba1' + '92e64e90dc5712f5b365728023796dc5521d1c567461a99fb1abf6bbc708a6fb') package() { install -Dm755 "${srcdir}"/stegify* "${pkgdir}/usr/bin/stegify" + install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et:
\ No newline at end of file |