makedeb


electronmail-bin 5.3.0-1


Unofficial ProtonMail Desktop App

Click here to go back to the commit logs for electronmail-bin.

Commit:


Hash: 36c538373a148c9aefd9f385fd9a140874e21543

Message: Fix error in modifier for source URL * Hopefully package will now work

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 165bcb0..4c40ba7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = electronmail-bin
 	pkgdesc = Unofficial ProtonMail Desktop App
 	pkgver = 5.2.3
-	pkgrel = 3
+	pkgrel = 4
 	url = https://github.com/vladimiry/ElectronMail
 	arch = amd64
 	license = GPL-3.0-only
@@ -22,8 +22,8 @@ pkgbase = electronmail-bin
 	conflicts = electron-mail-bin
 	conflicts = electronmail-deb
 	conflicts = electron-mail-deb
-	noextract = electronmail-bin_5.2.3-_amd64.deb
-	source = https://github.com/vladimiry/ElectronMail/releases/download/v5.2.3/electron-mail-5.2.3-linux-amd64.deb
+	noextract = electronmail-bin_5.2.3-4_amd64.deb
+	source = electronmail-bin_5.2.3-4_amd64.deb::https://github.com/vladimiry/ElectronMail/releases/download/v5.2.3/electron-mail-5.2.3-linux-amd64.deb
 	sha256sums = 5afa1a9aa70ffa3d841fc66534d4f78eaf8b7e9260e07f2147109c185a437704
 
 pkgname = electronmail-bin
diff --git a/PKGBUILD b/PKGBUILD
index f538335..c31c3a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,15 +5,15 @@
 pkgname="electronmail-bin"
 _pkgname="electron-mail"
 pkgver='5.2.3'
-pkgrel='3'
+pkgrel='4'
 pkgdesc="Unofficial ProtonMail Desktop App"
 arch=('amd64')
 depends=('libgtk-3-0' 'libnotify4' 'libnss3' 'libxss1' 'libxtst6' 'xdg-utils' 'libatspi2.0-0' 'libuuid1' 'libsecret-1-0')
 license=('GPL-3.0-only')
 url="https://github.com/vladimiry/ElectronMail"
-source=("${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-${arch}.deb")
+source=("${pkgname}_${pkgver}-${pkgrel}_${arch}.deb"::"${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-${arch}.deb")
 sha256sums=('5afa1a9aa70ffa3d841fc66534d4f78eaf8b7e9260e07f2147109c185a437704')
-noextract=("${pkgname}_${pkgver}-${_pkgrel}_${arch}.deb")
+noextract=("${pkgname}_${pkgver}-${pkgrel}_${arch}.deb")
 provides=("${pkgname}")
 conflicts=("electronmail-git" "electron-mail-git" "electronmail" "electron-mail" "electron-mail-bin" "electronmail-deb" "electron-mail-deb")