Skip to content

Commit

Permalink
chore(update): gitify-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
temeraire-cx authored and xiota committed Dec 11, 2024
1 parent 9367705 commit f101257
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .ci/aur-state
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1733902248
1733916643
8 changes: 4 additions & 4 deletions gitify-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pkgbase = gitify-bin
pkgdesc = GitHub notifications on your menu bar.(Prebuilt version.Use system-wide electron)
pkgver = 5.16.2
pkgver = 5.17.0
pkgrel = 1
url = https://www.gitify.io/
arch = x86_64
license = MIT
depends = electron33
source = gitify-5.16.2.deb::https://github.com/gitify-app/gitify/releases/download/v5.16.2/gitify_5.16.2_amd64.deb
source = LICENSE-5.16.2::https://raw.githubusercontent.com/gitify-app/gitify/v5.16.2/LICENSE
source = gitify-5.17.0.rpm::https://github.com/gitify-app/gitify/releases/download/v5.17.0/gitify-5.17.0.x86_64.rpm
source = LICENSE-5.17.0::https://raw.githubusercontent.com/gitify-app/gitify/v5.17.0/LICENSE
source = gitify.sh
sha256sums = cae9c9bcc4edf0691b953a5801fa5350b418fc6b10294c493bfca27d7509da2a
sha256sums = ef506c3261b1a313e9ac15682945da1edef3f1214c2c48dadcb3ec1780aeeb3a
sha256sums = e3583a920d79b28287ca8bf4b021c6cbeba746a75073c0c68b0aa64ff0b38961
sha256sums = 291f50480f5a61bc9c68db7d44cd0412071128706baa868a9cb854f8779a1980

Expand Down
9 changes: 4 additions & 5 deletions gitify-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Contributor: Ariel Abreu <[email protected]>
pkgname=gitify-bin
_pkgname=Gitify
pkgver=5.16.2
pkgver=5.17.0
_electronversion=33
pkgrel=1
pkgdesc="GitHub notifications on your menu bar.(Prebuilt version.Use system-wide electron)"
Expand All @@ -14,22 +14,21 @@ depends=(
"electron${_electronversion}"
)
source=(
"${pkgname%-bin}-${pkgver}.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb"
"${pkgname%-bin}-${pkgver}.rpm::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}.${CARCH}.rpm"
"LICENSE-${pkgver}::https://raw.githubusercontent.com/gitify-app/gitify/v$pkgver/LICENSE"
"${pkgname%-bin}.sh"
)
sha256sums=('cae9c9bcc4edf0691b953a5801fa5350b418fc6b10294c493bfca27d7509da2a'
sha256sums=('ef506c3261b1a313e9ac15682945da1edef3f1214c2c48dadcb3ec1780aeeb3a'
'e3583a920d79b28287ca8bf4b021c6cbeba746a75073c0c68b0aa64ff0b38961'
'291f50480f5a61bc9c68db7d44cd0412071128706baa868a9cb854f8779a1980')
build() {
prepare() {
sed -e "
s/@electronversion@/${_electronversion}/g
s/@appname@/${pkgname%-bin}/g
s/@runname@/app.asar/g
s/@cfgdirname@/${_pkgname}/g
s/@options@/env ELECTRON_OZONE_PLATFORM_HINT=auto/g
" -i "${srcdir}/${pkgname%-bin}.sh"
bsdtar -xf "${srcdir}/data."*
sed -i "s/\/opt\/${_pkgname}\/${pkgname%-bin}/${pkgname%-bin}/g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
}
package() {
Expand Down

0 comments on commit f101257

Please sign in to comment.