-
Notifications
You must be signed in to change notification settings - Fork 3
/
snapcraft.yaml
35 lines (33 loc) · 911 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: telegram-cli
version: '1.3.1'
summary: Command-line interface for Telegram. Uses the readline interface.
description: |
Telegram-cli is a command-line interface for Telegram, using the Telegram
API and libopenssl for encryption. Type `help` to list all commands, the app
comes with exhaustive tab-completion.
Source code available at https://github.com/vysheng/tg
grade: stable
confinement: strict
apps:
telegram-cli:
command: bin/telegram-cli
plugs: [network, home]
parts:
tg:
plugin: autotools
source: https://github.com/vysheng/tg.git
build-packages:
- libreadline-dev
- libconfig-dev
- libssl-dev
- liblua5.2-dev
- libevent-dev
- libjansson-dev
- libpython-dev
stage-packages:
- lua5.2
build: |
./configure
make
install: |
cp -r bin/ $SNAPCRAFT_PART_INSTALL/bin