diff options
author | Alejandro Quisbert | 2020-09-19 13:18:38 +0200 |
---|---|---|
committer | Alejandro Quisbert | 2020-09-19 13:18:38 +0200 |
commit | 4dd653114edcdf6bfe4203c258345e0bd1e2b5dd (patch) | |
tree | ae017ae04ac68226bfaa26beb84ca71c4e004a8f /PKGBUILD | |
parent | 6960fee5a707bf0a058b538653e97bd9dcb4fd01 (diff) | |
download | aur-4dd653114edcdf6bfe4203c258345e0bd1e2b5dd.tar.gz |
Data integrity SHA256 implementation
MD5 hash removed and variables modified according to AUR specifications.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,22 +1,23 @@ # Maintainer: Alejandro Quisbert <alexandro@autistici.org> pkgname=gocho -pkgver=0.1 -pkgrel=1 +pkgver=0.1.0 +pkgrel=2 pkgdesc='A local area network file-sharing application with nodes auto-discovery' arch=('x86_64') depends=('glibc') makedepends=('unzip') url='https://github.com/donkeysharp/gocho.git' license=('MIT') -source=('https://github.com/donkeysharp/gocho/releases/download/0.1.0/gocho_0.1.0_linux64.zip') -md5sums=('98ab0acdb74117ecea7403acc92782ac') +_gocho_file=gocho_${pkgver}_linux64.zip +source=("https://github.com/donkeysharp/gocho/releases/download/${pkgver}/gocho_${pkgver}_linux64.zip") +sha256sums=('f6964a93f1db666220fc3d393b20b761b5f01c1d8907b03150d33992936cc90c') package() { cd "${srcdir}" - unzip --qt gocho_0.1.0_linux64.zip - install -D gocho "${pkgdir}"/usr/bin/gocho - -} + unzip --qt $_gocho_file + install -D gocho "$pkgdir/usr/bin/gocho" + +} |