aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polari/APKBUILD
blob: 34c0c123271108fa367746e26c1d89e49c743b2b (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=3.36.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"
license="GPL-2.0-or-later"
makedepends="meson gobject-introspection-dev gtk+3.0-dev telepathy-glib-dev
	gjs-dev itstool"
checkdepends="appstream-glib mozjs60 desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/polari/${pkgver%.*}/polari-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="f84c70def74ea5b79dee9105bf0a5d40130177d9551148d6d0b7e38c3903edd1917a293cd93bc888dc94867238387c5f3f48c30c7f97abcb3b6137301e832245  polari-3.36.0.tar.xz"