Verified Commit ad32f04c authored by tioguda's avatar tioguda
Browse files

Update

parent ff9d8e30
......@@ -5,24 +5,26 @@
# Maintainer : Guillaume Benoit <guillaume@manjaro.org>
pkgname=manjariando-keyring
pkgver=20210518.1044
pkgver=20210612.1131
pkgrel=1
pkgdesc='Manjariando GPG keyring'
arch=('any')
url='https://gitlab.com/manjariando'
license=('GPL')
makedepends=('imagemagick')
install="${pkgname}.install"
source=('Makefile'
'manjariando.gpg'
#'manjariando-revoked'
'manjariando-revoked'
'manjariando-trusted'
"https://metainfo.manjariando.com.br/${pkgname}/gpg"-{48,64,128}.png
'manjariando-keyring.hook'
'https://metainfo.manjariando.com.br/${pkgname}/gpg.png'
"https://metainfo.manjariando.com.br/${pkgname}/com.${pkgname}.metainfo.xml")
sha256sums=('d2d6d26e6715dcae57b15e10cbf4fd32599452b5f2072cf22e834ad63bb9e477'
'aa203a7fc9cb8762df7e42c2d34424ecbb543b2b22b294bfa361e538327ee3b6'
'01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'
'bcbc606d0763dc7c39ec15b48fc12f7a098d5847e9fc8b5eccb057d68f273230'
'06344c82613c8c24598673fb14a566ff1b85d52a128eb41cb40e2ae3bff374cc'
'd42855d3959b106cfc78f0c354fc452cd7f7d79a52503c0448da19dba0759ca1'
'ff97a3f71e47b8f4e97398136774da8ddda22ad0af0f1919097e28b5b9afb874'
'ff2c4188fcceedbe628cc857333f300d1b6d10f381b1c69a4a57a632c6334eb3'
'5ed44a6688996bb0c6789756bad5891aa0cd1ee02617c335741528534fd55108')
......@@ -60,8 +62,12 @@ package() {
install -Dm644 "${srcdir}/com.${pkgname/-/_}.desktop" \
"${pkgdir}/usr/share/applications/com.${pkgname/-/_}.desktop"
for i in 48 64 128; do
install -Dm644 "${srcdir}/gpg-${i}.png" \
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
for size in 22 24 32 48 64 128; do
mkdir -p "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps"
convert "${srcdir}/gpg.png" -resize "${size}x${size}" \
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${pkgname}.png"
done
# Hook
install -Dm644 "${srcdir}/manjariando-keyring.hook" "${pkgdir}/usr/share/libalpm/hooks/manjariando-keyring.hook"
}
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = manjaro-system
[Action]
Description = Manjariando GPG keyring
When = PostTransaction
Depends = manjaro-system
Exec = /usr/bin/pacman-key --populate manjariando
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment