diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | kotatogram-desktop.desktop | 13 |
4 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5165d215bf47 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = kotatogram-desktop + pkgdesc = Experimental Telegram Desktop fork. + pkgver = 1.1 + pkgrel = 2 + url = https://github.com/kotatogram/kotatogram-desktop + arch = x86_64 + license = GPLv3 + source = kotatogram-desktop-1.1.tar.gz::https://github.com/kotatogram/kotatogram-desktop/releases/download/k1.1/1.1.tar.xz + source = kotatogram-desktop.desktop + sha256sums = SKIP + sha256sums = SKIP + +pkgname = kotatogram-desktop + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5f281b4afcd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +kotatogram-desktop-1.1-2-x86_64.pkg.tar.xz +kotatogram-desktop-1.1.tar.gz +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3033ce0d554b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Auteiy <dmitry@auteiy.me> + +pkgname=kotatogram-desktop +pkgver=1.1 +pkgrel=2 +pkgdesc="Experimental Telegram Desktop fork." +arch=(x86_64) +url="https://github.com/kotatogram/kotatogram-desktop" +license=(GPLv3) +# depends=() + +source=( + +"$pkgname"-"$pkgver".tar.gz::"$url"/releases/download/k"$pkgver"/"$pkgver".tar.xz +"$pkgname".desktop + +) + +sha256sums=( + +'SKIP' +'SKIP' + +) + +package() { + + cd "$srcdir/" + + # Creating needed directories + install -dm755 "$pkgdir/usr/bin" + + # Program + install -Dm755 "$srcdir/Kotatogram/Kotatogram" "$pkgdir/usr/bin/kotatogram-desktop" + + # Desktop launcher + install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/kotatogramdesktop.desktop" +} diff --git a/kotatogram-desktop.desktop b/kotatogram-desktop.desktop new file mode 100644 index 000000000000..aa25920dc0de --- /dev/null +++ b/kotatogram-desktop.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Name=Kotatogram Desktop +Comment=Official desktop version of Telegram messaging app +Exec=kotatogram-desktop -- %u +StartupWMClass=kotatogram-desktop +Icon=kotatogram +Terminal=false +Type=Application +Categories=Network; +MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg; +X-Desktop-File-Install-Version=0.22 |