# Maintainer: Deposite Pirate # # Upstream: https://git.metalpunks.info/arch-ports _pkgname=libgnt pkgname=$_pkgname-hg pkgver=r1371.88c07b4791fa pkgrel=1 pkgdesc="ncurses widgets for Pidgin" arch=('i686' 'x86_64') url="https://bitbucket.org/pidgin/libgnt" license=('GPL2') depends=('ncurses>=6.1' 'glib2>=2.58.0' 'icu>=63.1' 'libxml2>=2.9.8' 'python>=3.7.0') makedepends=('mercurial' 'meson' 'gtk-doc') source=("$pkgname::hg+https://bitbucket.org/pidgin/$_pkgname") sha256sums=('SKIP') pkgver() { cd "${pkgname}" printf "r%s.%s" \ "$(hg identify -n)" \ "$(hg identify -i)" } build() { cd "${pkgname}" arch-meson build -Dtests=false ninja -C build } package() { cd "${pkgname}" DESTDIR="${pkgdir}" ninja -C build install }