# Maintainer: Deposite Pirate # # Upstream: https://git.metalpunks.info/arch-ports _pkgname=libgnt pkgname=$_pkgname-hg pkgver=r1390.3ebfb66520a9 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://keep.imfreedom.org/$_pkgname/$_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 }