blob: a5f16742ee3fba82dd8e6826f6786ba1a5901e43 (
plain)
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
|
# Maintainer: Alisson Lauffer <alissonvitortc@gmail.com>
_pkgname=paper-plane
pkgname=paper-plane-git
pkgver=0.1.0.beta.1.r6.g83df76b
pkgrel=1
pkgdesc='Chat over Telegram on a modern and elegant client'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/paper-plane-developers/paper-plane'
license=(GPL3)
depends=(gtk4-paper-plane libadwaita-git libtd-dev rlottie-paper-plane-git libtdjson.so)
makedepends=(git meson rust blueprint-compiler appstream-glib)
provides=(paper-plane)
conflicts=(paper-plane)
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "$_pkgname" build \
-Dtg_api_id=611335 \
-Dtg_api_hash=d524b414d21f4d37f08684c1df41ac9c
meson compile -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|