summaryrefslogtreecommitdiff
path: root/testing/srain/APKBUILD
blob: 6857a39a2691d980c0c2f5f7cf4c1aa0a7ee69b9 (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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=srain
pkgver=1.4.0
pkgrel=0
pkgdesc="Modern IRC client written in GTK."
url="https://srain.im"
arch="all"
license="GPL-2.0"
makedepends="cmake gettext glib-dev gtk+3.0-dev libconfig-dev libsecret-dev libsoup-dev
	meson ninja openssl-dev py3-sphinx"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/SrainApp/srain/archive/$pkgver.tar.gz"

build() {
	meson setup \
		--prefix=/usr \
		--datadir=/usr/share \
		--sysconfdir=/etc	\
		--buildtype=release	\
	builddir
	ninja -C builddir
}

check() {
	meson check
}

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

sha512sums="
1708d1d1ec97c9f35a8702526a95bb60bf0ea50b742a76081508ef42a512e8c113ef1949c3b9f3db4585d8fb11cdb197f65fc7bc10480a533c69982c21185e55  srain-1.4.0.tar.gz
"