summaryrefslogtreecommitdiff
path: root/community/polari/APKBUILD
blob: dc25ec6159b6eaa5cf2d56aeff59ede4fdb1a0da (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=polari
pkgver=41.0
pkgrel=0
pkgdesc="Polari is a simple IRC Client that is designed to integrate seamlessly with GNOME 3"
url="https://wiki.gnome.org/Apps/Polari"
arch="all !s390x !riscv64" # limited by gjs
license="GPL-2.0-or-later"
depends="telepathy-logger telepathy-idle telepathy-mission-control gspell"
makedepends="meson gobject-introspection-dev gtk+3.0-dev telepathy-glib-dev
	gjs-dev itstool"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/polari/${pkgver%.*}/polari-$pkgver.tar.xz
	merge_file-args.patch
	"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
98ae67b36a0a47bc536ce87668b3e9f7144c0196b520d7ac3885f9a6ca158027ec2afe1e9d8a8e29b2bcc55a0109f7cfbe17582ebc22f59250175c49dac71919  polari-41.0.tar.xz
da18a01a09f2c9b0d79028df6cd1b1d5f44650c96c63ab16f9cccd0df35a5058931f8ef0372db5012c98fd886f7de93f31f3a8d930642329f922b23bc59c9077  merge_file-args.patch
"