mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 21:43:04 +01:00
update to 1.0.7
This commit is contained in:
parent
c109f079b2
commit
59d36f8cbb
3 changed files with 11 additions and 11 deletions
10
.SRCINFO
10
.SRCINFO
|
|
@ -1,16 +1,16 @@
|
|||
pkgbase = hugin-messenger-bin
|
||||
pkgdesc = The new version of the private messaging desktop application powered by the Kryptokrona Blockchain.(Prebuilt version.Use system-wide electron)
|
||||
pkgver = 1.0.6
|
||||
pkgver = 1.0.7
|
||||
pkgrel = 1
|
||||
url = https://hugin.chat/
|
||||
arch = x86_64
|
||||
license = GPL-3.0-only
|
||||
depends = electron30
|
||||
provides = hugin-messenger=1.0.6
|
||||
provides = hugin-messenger=1.0.7
|
||||
conflicts = hugin-messenger
|
||||
source = hugin-messenger-1.0.6.deb::https://github.com/kryptokrona/hugin-desktop/releases/download/1.0.6/hugin-messenger_1.0.6_amd64.deb
|
||||
source = hugin-messenger-1.0.7.deb::https://github.com/kryptokrona/hugin-desktop/releases/download/1.0.7/hugin-messenger_1.0.7_amd64.deb
|
||||
source = hugin-messenger.sh
|
||||
sha256sums = 6170403fef43fe0de1fe9fc3ce6a365c146040d3489ab1040ee886d4b90823bc
|
||||
sha256sums = f2fe8c189974ffb9d445e9a42bd4f1d5b60185607c3fcafae79ab44be224e013
|
||||
sha256sums = 455243738e90f5f27cc5eb5251e6255c2709a48192dadc3c73ade4210b3f40f5
|
||||
sha256sums = 31ad33b633744f5361abd964be306cea53ae1050e760c787115f7eca60045ae6
|
||||
|
||||
pkgname = hugin-messenger-bin
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
|
||||
pkgname=hugin-messenger-bin
|
||||
_pkgname='Hugin Messenger'
|
||||
pkgver=1.0.6
|
||||
pkgver=1.0.7
|
||||
_electronversion=30
|
||||
pkgrel=1
|
||||
pkgdesc="The new version of the private messaging desktop application powered by the Kryptokrona Blockchain.(Prebuilt version.Use system-wide electron)"
|
||||
|
|
@ -18,8 +18,8 @@ source=(
|
|||
"${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb"
|
||||
"${pkgname%-bin}.sh"
|
||||
)
|
||||
sha256sums=('6170403fef43fe0de1fe9fc3ce6a365c146040d3489ab1040ee886d4b90823bc'
|
||||
'f2fe8c189974ffb9d445e9a42bd4f1d5b60185607c3fcafae79ab44be224e013')
|
||||
sha256sums=('455243738e90f5f27cc5eb5251e6255c2709a48192dadc3c73ade4210b3f40f5'
|
||||
'31ad33b633744f5361abd964be306cea53ae1050e760c787115f7eca60045ae6')
|
||||
_get_electron_version() {
|
||||
_electronversion="$(strings "${srcdir}/opt/${_pkgname}/${pkgname%-bin}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1)"
|
||||
echo -e "The electron version is: \033[1;31m${_electronversion}\033[0m"
|
||||
|
|
@ -48,4 +48,4 @@ package() {
|
|||
cp -Pr --no-preserve=ownership "${srcdir}/opt/${_pkgname}/resources/"{app.asar.unpacked,bin} "${pkgdir}/usr/lib/${pkgname%-bin}"
|
||||
install -Dm644 "${srcdir}/usr/share/icons/hicolor/0x0/apps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
|
||||
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ if [[ "${_WAYLAND_OPTION}" == true ]]; then
|
|||
fi
|
||||
cd "${_APPDIR}"
|
||||
if [[ "${EUID}" -ne 0 ]] || [[ "${ELECTRON_RUN_AS_NODE}" ]]; then
|
||||
exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "${flags[@]}" "${_USER_FLAGS}" "$@" || exit $?
|
||||
exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "${flags[@]}" "$@" || exit $?
|
||||
else
|
||||
exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "${flags[@]}" "${_USER_FLAGS}" "$@" || exit $?
|
||||
exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "${flags[@]}" "$@" || exit $?
|
||||
fi
|
||||
Loading…
Add table
Reference in a new issue