milis/talimatname/genel/t/telegram-cli/talimat

23 lines
581 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Telegram mesajlaşma konsol uygulaması
# URL: https://github.com/vysheng/tg
# Paketçi: milisarge
# Gerekler: git libconfig libevent lua jansson
# Grup: ağ
isim=telegram-cli
surum=git
devir=1
kaynak=(telegram-cli.patch)
derle() {
git_indir https://github.com/vysheng/tg $isim
cd "$SRC/$isim"
git submodule update --init --recursive --force
patch -p1 < "$SRC/$isim.patch"
./configure
make
cd "$SRC/$isim"
install -Dm644 tg-server.pub ${PKG}/etc/telegram-cli/server.pub
install -Dm755 bin/telegram-cli ${PKG}/usr/bin/telegram-cli
}