summaryrefslogtreecommitdiff
path: root/community/libgnt/APKBUILD
blob: 6d8471ff6b8c31974b9ad81b95596340036f02e3 (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=3
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 --print-errorlogs -C output
}

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

sha512sums="
7131834cfe585177865bebf26167de08a04fced3da4e9a072d9b09b3becd1194914757b1a1fc8f129ae6c8fefe3ec1ce0d80d6c50cb624a5698b66ee2e06c6c8  libgnt-2.14.3.tar.xz
"