summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rwxr-xr-xPKGBUILD13
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cdf48eebeea..9cec5b9003a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = messengerfordesktop-bin
pkgdesc = Beautiful desktop client for Facebook Messenger. Binary version.
pkgver = 2.0.1
- pkgrel = 2
+ pkgrel = 3
url = http://messengerfordesktop.com/
arch = i686
arch = x86_64
@@ -15,11 +15,11 @@ pkgbase = messengerfordesktop-bin
depends = nss
conflicts = messengerfordesktop
conflicts = messengerfordesktop-git
- noextract = messengerfordesktop-2.0.1.deb
+ noextract = messengerfordesktop-2.0.1-x86_64.deb
options = !strip
- source_i686 = messengerfordesktop-2.0.1.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v2.0.1/messengerfordesktop-2.0.1-linux-i386.deb
+ source_i686 = messengerfordesktop-2.0.1-i686.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v2.0.1/messengerfordesktop-2.0.1-linux-i386.deb
sha256sums_i686 = ed05f1afb3d25589c071276c7cc12bff1f5a6e4acb301eeab1cc3300a97d5726
- source_x86_64 = messengerfordesktop-2.0.1.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v2.0.1/messengerfordesktop-2.0.1-linux-amd64.deb
+ source_x86_64 = messengerfordesktop-2.0.1-x86_64.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v2.0.1/messengerfordesktop-2.0.1-linux-amd64.deb
sha256sums_x86_64 = d4c9eebc60f51c2ba5c136617f6dd71121feb3d8c99b7b563498109d7be74d45
pkgname = messengerfordesktop-bin
diff --git a/PKGBUILD b/PKGBUILD
index ceebd4de3e0..a886b063c61 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=messengerfordesktop
pkgname=${_pkgname}-bin
pkgver=2.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Beautiful desktop client for Facebook Messenger. Binary version."
arch=('i686' 'x86_64')
url="http://messengerfordesktop.com/"
@@ -14,17 +14,18 @@ options=(!strip)
depends=('libxtst' 'alsa-lib' 'gtk2' 'gconf' 'libnotify' 'nss')
makedepends=('tar')
-_debname="${_pkgname}-${pkgver}.deb"
-noextract=("${_debname}")
+_basename="${_pkgname}-${pkgver}"
+noextract=("${_basename}-${CARCH}.deb")
-source_i686=("${_debname}::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-i386.deb")
-source_x86_64=("${_debname}::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-amd64.deb")
+source_i686=("${_basename}-i686.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v${pkgver}/${_basename}-linux-i386.deb")
+source_x86_64=("${_basename}-x86_64.deb::https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/download/v${pkgver}/${_basename}-linux-amd64.deb")
sha256sums_i686=('ed05f1afb3d25589c071276c7cc12bff1f5a6e4acb301eeab1cc3300a97d5726')
sha256sums_x86_64=('d4c9eebc60f51c2ba5c136617f6dd71121feb3d8c99b7b563498109d7be74d45')
+
package() {
- ar p "${_debname}" data.tar.gz | tar -zxpC "${pkgdir}"
+ ar p ${noextract[0]} data.tar.gz | tar -zxpC "${pkgdir}"
cd "${pkgdir}"
# Fix the window class in desktop file