aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgnt/APKBUILD
blob: 2cd779b9a9f877c8cb9b34639de50dd40243b493 (plain) (blame)
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
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libgnt
pkgver=2.14.2
pkgrel=0
pkgdesc="glib ncurses toolkit"
url="https://keep.imfreedom.org/libgnt/libgnt"
arch="all"
license="GPL-2.0-or-later"
depends="!finch<=2.13.0"
makedepends="meson glib-dev libxml2-dev ncurses-dev gtk-doc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/pidgin/libgnt/$pkgver/libgnt-$pkgver.tar.xz"

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="
17b39e132b44b23486d7d39fa02761997a28abf53f67bf71bbad86d35124e5deb0363d670b2fb5ac99d47256282b0ef6ad1886e12984c868bb0d13ea7ba7d860  libgnt-2.14.2.tar.xz
"