makedeb
Cute and easy to use matrix messenger. Secure and decentralized.
Click here to go back to the commit logs for fluffychat-bin.
Hash: abaea84a086c3d06adbdf90db1fc5830c59b4d78
Message: 1.17.0
diff --git a/.SRCINFO b/.SRCINFO
index 3486d20..6b17142 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.16.0
+pkgver = 1.17.0
url = https://fluffychat.im/
arch = amd64
conflicts = fluffychat
@@ -14,8 +14,10 @@ depends = libolm3
depends = xdg-user-dirs
depends = zenity
license = AGPL3
+noextract = libstdc++6_13.2.0-9_amd64.deb
+noextract = fluffychat-1.17.0.tar.gz
provides = fluffychat
-source = fluffychat-v1.16.0.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.16.0/fluffychat-linux-x64.tar.gz
-source = http://deb.debian.org/debian/pool/main/g/gcc-13/libstdc++6_13.2.0-8_amd64.deb
-sha256sums = c777981e27dfb9b4b4eb215749c926ee97f2058b42a8f366f206e1078a59c2be
-sha256sums = 5888a0f857ca35386d9f3e5e0b99f8faefca2212bee1d223a57b2a3ea93343e2
+source = fluffychat-1.17.0.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.17.0/fluffychat-linux-x64.tar.gz
+source = http://deb.debian.org/debian/pool/main/g/gcc-13/libstdc++6_13.2.0-9_amd64.deb
+sha256sums = ce095993390b4603defed082d17e89243af787cf11836f2bba6f514046be5850
+sha256sums = 8c4365487e7fd7a562e189b102f92837c89ca8fb2b203d30b045c29028778b2c
diff --git a/PKGBUILD b/PKGBUILD
index a9cee8d..30537fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,45 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: The one with the braid (AUR) <the-one@with-the-braid.cf>
-pkgname=fluffychat-bin
_pkgname=fluffychat
-pkgver=1.16.0
+pkgname="${_pkgname}-bin"
+pkgver=1.17.0
#https://packages.debian.org/sid/amd64/libstdc++6/download
-_debpver=13.2.0-8
+_debpver=13.2.0-9
pkgrel=0
pkgdesc="Cute and easy to use matrix messenger. Secure and decentralized."
arch=('amd64')
url="https://fluffychat.im/"
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"
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=("fluffychat-${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=('c777981e27dfb9b4b4eb215749c926ee97f2058b42a8f366f206e1078a59c2be'
- '5888a0f857ca35386d9f3e5e0b99f8faefca2212bee1d223a57b2a3ea93343e2')
+noextract=("libstdc++6_${_debpver}_amd64.deb" "${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('ce095993390b4603defed082d17e89243af787cf11836f2bba6f514046be5850'
+ '8c4365487e7fd7a562e189b102f92837c89ca8fb2b203d30b045c29028778b2c')
prepare() {
+ cd "${srcdir}"
+ # extract archive
+ mkdir -p "${_pkgname}-${pkgver}"
+ bsdtar -xf "${_pkgname}-${pkgver}.tar.gz" -C "${_pkgname}-${pkgver}"
# extract deb
- bsdtar -xf data.tar.xz
+ dpkg-deb -x "libstdc++6_${_debpver}_amd64.deb" "libstdc++6_${_debpver}_amd64"
}
package() {
-
+ cd "${srcdir}/${_pkgname}-${pkgver}"
# creating directories
install -dm755 ${pkgdir}/usr/{bin,lib,libexec/${_pkgname},share/{pixmaps,applications,doc/${_pkgname}}}
# install
- install -m755 ${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/
- cp -r data ${pkgdir}/usr/share/${_pkgname}
- cp -r lib ${pkgdir}/usr/lib/${_pkgname}
+ install -m755 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}" "${pkgdir}/usr/libexec/${_pkgname}/"
+ cp -r "${srcdir}/${_pkgname}-${pkgver}/data" "${pkgdir}/usr/share/${_pkgname}"
+ cp -r "${srcdir}/${_pkgname}-${pkgver}/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"
+ install -m644 "${srcdir}/libstdc++6_${_debpver}_amd64/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}
@@ -50,7 +55,7 @@ Type=Application
Version=${pkgver}
Name=FluffyChat
Comment=Cute and easy to use (matrix) messenger. Secure and decentralized.
-Exec=${_pkgname} %U
+Exec=${_pkgname}
Icon=${_pkgname}
Terminal=false
StartupNotify=false