Last active
July 6, 2016 03:56
-
-
Save Gabrielgtx/56a1ae08bc51229ccb7ede3a23955adb to your computer and use it in GitHub Desktop.
A free messaging app for WhatsApp, Facebook Messenger, Telegram, Slack and more. / http://meetfranz.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Franz | |
Comment=A free messaging app for WhatsApp, Facebook Messenger, Telegram, Slack and more. | |
Exec=franz -- %u | |
StartupWMClass=Franz | |
Icon=franz | |
Terminal=false | |
Type=Application | |
Categories=Network; | |
X-Desktop-File-Install-Version=0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
![franz.png] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=franz | |
pkgver=3.1.0 | |
pkgrel=1 | |
pkgdesc="A free messaging app for WhatsApp, Facebook Messenger, Telegram, Slack and more." | |
arch=('x86_64') | |
url="http://meetfranz.com/" | |
license=("custom") | |
depends=('gconf' 'gtk2' 'libxtst' 'nss' 'alsa-lib' 'libnotify' 'fontconfig') | |
source=("$pkgname.desktop" "$pkgname.png" "https://github.com/imprecision/franz-app/releases/download/$pkgver/Franz-linux-x64-$pkgver.tgz") | |
sha256sums=('fce6efcaf265492eb9bf479795e49b2868114c157709acc849302a9520919ab2' | |
'6e761371afadf155b8bc25e94fd7de371c16130a87338300e5800924916a7a28' | |
'bf8a52577eded389330134a2ec1c4748bc5a4119f0063ff1a6576df68d14ae94') | |
package() { | |
install -dm755 "$pkgdir/usr/bin" | |
install -dm755 "$pkgdir/usr/share/$pkgname" | |
cp -r $srcdir/* $pkgdir/usr/share/$pkgname/ | |
install -dm755 "$pkgdir/usr/bin" | |
echo -en "#!/bin/bash\nexec /usr/share/$pkgname/Franz $@" >"$pkgdir/usr/bin/franz" | |
chmod +x "$pkgdir/usr/bin/franz" | |
install -dm755 "$pkgdir/usr/share/pixmaps" | |
install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/franz.png" | |
install -dm755 "$pkgdir/usr/share/applications" | |
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/franz.desktop" | |
rm -r $pkgdir/usr/share/$pkgname/{$pkgname.png,Franz-linux-x64-$pkgver.tgz,$pkgname.desktop} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment