blob: 7952d0e07a42c116649cd09038780df76ac99dec (
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
35
36
37
38
39
40
41
42
|
# Maintainer: Seppia <seppia@seppio.fish>
# Contributor: svalo <me@valo.space>
pkgname=dino-git
pkgver=0.4.1.r173.gfa3a779
pkgrel=1
pkgdesc="Simple and modern Jabber/XMPP client written in vala"
arch=('i686' 'x86_64' 'aarch64')
url="https://dino.im/"
license=('GPL3')
depends=('glib2>=2.38' 'glib-networking' 'gtk4' 'gpgme'
'libgee>=0.10' 'libgcrypt' 'libsoup3' 'sqlite' 'qrencode'
'libsignal-protocol-c' 'gspell' 'gst-plugins-base'
'gst-plugins-good' 'gst-plugin-gtk' 'webrtc-audio-processing'
'libnice' 'libsrtp' 'libadwaita')
makedepends=('git' 'meson' 'vala>=0.34' 'ninja')
optdepends=('libcanberra: audio notification support')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('dino::git+https://github.com/dino/dino')
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}"
arch-meson "${pkgname%-git}" build
meson compile -C build
}
package() {
cd "${srcdir}/${pkgname%-git}"
meson install -C build --destdir "$pkgdir"
}
check() {
cd "${srcdir}/${pkgname%-git}"
meson test -C build
}
|