summaryrefslogtreecommitdiff
path: root/community/libgnt/APKBUILD
blob: c0d6fed9301f52bc468de9c39c19471b4958f396 (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
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libgnt
pkgver=2.14.3
pkgrel=2
pkgdesc="glib ncurses toolkit"
url="https://keep.imfreedom.org/libgnt/libgnt"
arch="all"
license="GPL-2.0-or-later"
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 -Dpython2=false . 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="
7131834cfe585177865bebf26167de08a04fced3da4e9a072d9b09b3becd1194914757b1a1fc8f129ae6c8fefe3ec1ce0d80d6c50cb624a5698b66ee2e06c6c8  libgnt-2.14.3.tar.xz
"