makedeb
Cute and easy to use matrix messenger. Secure and decentralized.
Click here to go back to the commit logs for fluffychat-bin.
Hash: d0d8a4ab7a407be10585784724859ee5abf824f3
Message: 1.14.0 and refactoring
diff --git a/.PKGBUILD.swp b/.PKGBUILD.swp
new file mode 100644
index 0000000..6c34ae5
Binary files /dev/null and b/.PKGBUILD.swp differ
diff --git a/.SRCINFO b/.SRCINFO
index a13d476..4de90ee 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.13.0
+pkgver = 1.14.0
url = https://fluffychat.im/
arch = amd64
conflicts = fluffychat
@@ -15,5 +15,5 @@ depends = xdg-user-dirs
depends = zenity
license = AGPL3
provides = fluffychat
-source = fluffychat-v1.13.0.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.13.0/fluffychat-linux-x64.tar.gz
-b2sums = 3ef7cde81d580a18082bcb73ddce7345d1495b6a492158c7a74e41e76e31cebe67f528094000412dabae0381abd5879a88fff0109b72f23997b258d9c0e2c7da
+source = fluffychat-v1.14.0.tar.gz::https://github.com/krille-chan/fluffychat/releases/download/v1.14.0/fluffychat-linux-x64.tar.gz
+b2sums = 7e0815f4e3fd28ba27806fe423577f4ab7156fb85e9421d50de4b53e192ab4034f7dca62b76acc51b65a356db03ab513e8334fdad07b67a961803204bcec293e
diff --git a/PKGBUILD b/PKGBUILD
index 16a4468..43b39af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=fluffychat-bin
_pkgname=fluffychat
-pkgver=1.13.0
+pkgver=1.14.0
pkgrel=0
pkgdesc="Cute and easy to use matrix messenger. Secure and decentralized."
arch=('amd64')
@@ -13,24 +13,25 @@ depends=('libgtk-3-0' 'libjsoncpp25' 'libsecret-1-0' 'libolm3' 'xdg-user-dirs' '
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=('3ef7cde81d580a18082bcb73ddce7345d1495b6a492158c7a74e41e76e31cebe67f528094000412dabae0381abd5879a88fff0109b72f23997b258d9c0e2c7da')
+b2sums=('7e0815f4e3fd28ba27806fe423577f4ab7156fb85e9421d50de4b53e192ab4034f7dca62b76acc51b65a356db03ab513e8334fdad07b67a961803204bcec293e')
package() {
- # install
- install -dm755 ${pkgdir}/opt/${_pkgname}/
- mv build/linux/*/release/bundle/fluffychat ${pkgdir}/opt/${_pkgname}/
- mv build/linux/*/release/bundle/data ${pkgdir}/opt/${_pkgname}/
- mv build/linux/*/release/bundle/lib ${pkgdir}/opt/${_pkgname}/
-
- # link
- install -dm755 ${pkgdir}/usr/bin
- ln -s /opt/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
+ # creating directories
+ install -dm755 ${pkgdir}/usr/{bin,lib,libexec/${_pkgname},share/{pixmaps,applications,doc/${_pkgname}}}
- # icon
- install -Dm 644 ${pkgdir}/opt/${_pkgname}/data/flutter_assets/assets/favicon.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png
+ # install
+ install -m755 ${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/
+ cp -r data ${pkgdir}/usr/share/${_pkgname}
+ cp -r lib ${pkgdir}/usr/lib/${_pkgname}
+
+ # linking
+ ln -s /usr/libexec/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
+ ln -s /usr/share/${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/data
+ ln -s /usr/lib/${_pkgname} ${pkgdir}/usr/libexec/${_pkgname}/lib
+ ln -s /usr/share/${_pkgname}/flutter_assets/assets/favicon.png ${pkgdir}/usr/share/pixmaps/${_pkgname}.png
+ ln -s /usr/share/${_pkgname}/flutter_assets/NOTICES.Z ${pkgdir}/usr/share/doc/${_pkgname}/NOTICES.Z
# desktop entry
- install -dm 755 "${pkgdir}/usr/share/applications"
cat > ${pkgdir}/usr/share/applications/${_pkgname}.desktop << EOF
[Desktop Entry]
Type=Application