[PKGBUILD] Switch from md5 to sha512 checksum, code cleanup
All checks were successful
continuous-integration/drone/push Build is passing

Remove comment out line of code

Replace tabs with spaces (yes I’m this kind of guy)
Fix indentation
This commit is contained in:
2021-11-25 00:53:56 +01:00
parent afa83c5e05
commit 81c9cdab7e
5 changed files with 73 additions and 79 deletions

View File

@@ -10,14 +10,14 @@ depends=()
makedepends=('rustup' 'git')
options=('strip' 'zipman')
source=("$pkgname::git+https://labs.phundrak.com/phundrak/pumopm.git#branch=develop")
md5sums=('SKIP')
sha512sums=('SKIP')
conflicts=('pumopm' 'pumopm-bin')
# If Phundraks Gitea takes too long to answer, or if it is down, use the
# Github mirror
# source=("$pkgname}::git+https://github.com/Phundrak/pumopm.git#branch=develop")
pkgver() {
cd "$pkgname"
cd "$pkgname"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}