summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0065f21b6e3429ae850806d53070d6461e64e733 (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
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=libgnt3-hg
pkgver=2.14.5r1467.e9f4e4f0cf13
epoch=1
pkgrel=1
pkgdesc="The GLib Ncurses Toolkit"
arch=('x86_64')
url="https://keep.imfreedom.org/libgnt/libgnt"
license=('GPL-2.0-or-later')
depends=('glib2' 'ncurses' 'libxml2' 'python')
makedepends=('mercurial' 'meson' 'gobject-introspection')
provides=("${pkgname%-hg}" "libgnt")
conflicts=("${pkgname%-hg}" "libgnt")
source=('hg+https://keep.imfreedom.org/libgnt/libgnt#branch=default')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%3-hg}"

	printf "2.14.5r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

build() {
  arch-meson libgnt build -Ddoc=false
  ninja -C build
}

#check() {
#	make -k check
#}

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