[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:
Lucien Cartier-Tilet 2021-11-25 00:53:56 +01:00
parent afa83c5e05
commit 81c9cdab7e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
5 changed files with 73 additions and 79 deletions

View File

@ -23,7 +23,6 @@ sha512sums=('27b0a56c95efe99c2b3cadb10c4e70186591bef0793d58b1acff99f8dfc789806ae
noextract=() noextract=()
package() { package() {
# unzip "${srcdir}/${pkgname}-${pkgver}-Linux64.zip" -d "${srcdir}/${pkgname}/"
mkdir -p "${pkgdir}/usr/share/applications/" mkdir -p "${pkgdir}/usr/share/applications/"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/" install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"

View File

@ -75,8 +75,8 @@ replaces=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs-n
# If Savannah fails for reasons, use Github's mirror # If Savannah fails for reasons, use Github's mirror
source=("emacs-git::git://github.com/emacs-mirror/emacs.git#branch=emacs-28" source=("emacs-git::git://github.com/emacs-mirror/emacs.git#branch=emacs-28"
"https://raw.githubusercontent.com/TheVaffel/emacs/master/emacs_background_transparency.patch") "https://raw.githubusercontent.com/TheVaffel/emacs/master/emacs_background_transparency.patch")
md5sums=('SKIP' sha512sums=('SKIP'
'4a48652df63bbd4039d164e843323f27') 'd45043e6925358a41fbe42457de3233cd346a7e6133704426240a0c987587328ae08719413188b11db498f27794ee55662c20e8c4b58311bb806ad71e4798574')
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)
################################################################################ ################################################################################

View File

@ -10,7 +10,7 @@ depends=()
makedepends=('rustup' 'git') makedepends=('rustup' 'git')
options=('strip' 'zipman') options=('strip' 'zipman')
source=("$pkgname::git+https://labs.phundrak.com/phundrak/pumopm.git#branch=develop") source=("$pkgname::git+https://labs.phundrak.com/phundrak/pumopm.git#branch=develop")
md5sums=('SKIP') sha512sums=('SKIP')
conflicts=('pumopm' 'pumopm-bin') conflicts=('pumopm' 'pumopm-bin')
# If Phundraks Gitea takes too long to answer, or if it is down, use the # If Phundraks Gitea takes too long to answer, or if it is down, use the
# Github mirror # Github mirror

View File

@ -14,8 +14,6 @@ makedepends=('git')
conflicts=('sent' 'sent-git') conflicts=('sent' 'sent-git')
source=("$pkgname::git+https://labs.phundrak.com/phundrak/sent") source=("$pkgname::git+https://labs.phundrak.com/phundrak/sent")
sha256sums=('SKIP') sha256sums=('SKIP')
# "config.h")
# 'SKIP')
pkgver() { pkgver() {
cd "${pkgname}" cd "${pkgname}"

View File

@ -16,8 +16,8 @@ makedepends=('git')
provides=("${_name}") provides=("${_name}")
conflicts=("${_name}" "${_name}-git") conflicts=("${_name}" "${_name}-git")
source=("${_name}::git+${url}.git" config.h) source=("${_name}::git+${url}.git" config.h)
md5sums=('SKIP' sha512sums=('SKIP'
'0a944f532b962cac835ee65d616be61b') 'f3cd5532977033ffb878e397c76b4576f931b74dc2c158f373d6618d0d4155387bc983b745f0adeffeee85de9ebdc9e9418d823cceef8895b2d8e6ab1d4791ca')
pkgver() { pkgver() {
@ -26,10 +26,7 @@ pkgver() {
} }
prepare() { prepare() {
# echo =====================
# echo srcdir $srcdir
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
# use your customisations if present
[[ -f $srcdir/config.h ]] && cp $srcdir/config.h . [[ -f $srcdir/config.h ]] && cp $srcdir/config.h .
# Allow custom FLAGS # Allow custom FLAGS