makedeb


fluffychat-bin 1.22.1-0


Cute and easy to use matrix messenger. Secure and decentralized.

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

Commit:


Hash: ce29519d3b0af18f1a34d52d98ce3941e3938a74

Message: 1.15.1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 116bcc5..55d5a95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = fluffychat-bin
 pkgbase = fluffychat-bin
 pkgdesc = Cute and easy to use matrix messenger. Secure and decentralized.
 pkgrel = 0
-pkgver = 1.14.5
+pkgver = 1.15.1
 url = https://fluffychat.im/
 arch = amd64
 conflicts = fluffychat
@@ -15,5 +15,7 @@ depends = xdg-user-dirs
 depends = zenity
 license = AGPL3
 provides = fluffychat
-source = fluffychat-v1.14.5.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.14.5/fluffychat-linux-x64.tar.gz
-b2sums = f4ef49982be5a472bd60dcdd24b993d7fa905b4b4cfaf5a87b1680e8141856ca4a0e80d54a40b7bdb0a7a7d0e33cd960b192e1ec63e7d495f80d2aaaa5a772ad
+source = fluffychat-v1.15.1.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.15.1/fluffychat-linux-x64.tar.gz
+source = http://deb.debian.org/debian/pool/main/g/gcc-13/libstdc++6_13.2.0-6_amd64.deb
+sha256sums = 1256be222502b6cd4a6cedfdf9d2b226cfa2e1a1940305908bf5ba66e400b88d
+sha256sums = 191a6082f7d9bff319fefa8d4ec8356364eb59e18f156db3ec65b96debe544c0
diff --git a/.gitignore b/.gitignore
index eeb3c67..217cf4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+libstdc++6*
 fluffychat*
 pkg
 src
diff --git a/PKGBUILD b/PKGBUILD
index 71a2610..59dc78b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,9 @@
 
 pkgname=fluffychat-bin
 _pkgname=fluffychat
-pkgver=1.14.5
+pkgver=1.15.1
+#https://packages.debian.org/sid/amd64/libstdc++6/download
+_debpver=13.2.0-6
 pkgrel=0
 pkgdesc="Cute and easy to use matrix messenger. Secure and decentralized."
 arch=('amd64')
@@ -12,10 +14,17 @@ license=('AGPL3')
 depends=('libgtk-3-0' 'libjsoncpp25' 'libsecret-1-0' 'libolm3' 'xdg-user-dirs' 'zenity')
 provides=("$_pkgname")
 conflicts=("$_pkgname")
-source=("fluffychat-v${pkgver}.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v${pkgver}/fluffychat-linux-x64.tar.gz")
-b2sums=('f4ef49982be5a472bd60dcdd24b993d7fa905b4b4cfaf5a87b1680e8141856ca4a0e80d54a40b7bdb0a7a7d0e33cd960b192e1ec63e7d495f80d2aaaa5a772ad')
+source=("fluffychat-v${pkgver}.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v${pkgver}/fluffychat-linux-x64.tar.gz"
+        "http://deb.debian.org/debian/pool/main/g/gcc-13/libstdc++6_${_debpver}_amd64.deb")
+sha256sums=('1256be222502b6cd4a6cedfdf9d2b226cfa2e1a1940305908bf5ba66e400b88d'
+            '191a6082f7d9bff319fefa8d4ec8356364eb59e18f156db3ec65b96debe544c0')
+
+prepare() {
+  bsdtar -xf data.tar.xz
+}
 
 package() {  
+
   # creating directories
   install -dm755 ${pkgdir}/usr/{bin,lib,libexec/${_pkgname},share/{pixmaps,applications,doc/${_pkgname}}}
 
@@ -23,7 +32,9 @@ package() {
   install -m755 ${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/
   cp -r data ${pkgdir}/usr/share/${_pkgname}
   cp -r lib ${pkgdir}/usr/lib/${_pkgname}
- 
+  # missing library
+  install -m644 "usr/lib/x86_64-linux-gnu/libstdc++.so.6.0."* "${pkgdir}/usr/lib/${_pkgname}/libstdc++.so.6"
+
   # linking
   ln -s /usr/libexec/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
   ln -s /usr/share/${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/data