# Maintainer: Deposite Pirate # # Upstream: https://git.metalpunks.info/arch-ports _pkgname=talkatu pkgname=$_pkgname-hg pkgver=r381.67b7255da6d4 pkgrel=1 pkgdesc="Gtk+ widgets for chat software" arch=('i686' 'x86_64') url="https://bitbucket.org/pidgin/talkatu" license=('GPL2') depends=('gtk3>=3.10.0' 'glade>=2.0' 'gumbo-parser>=0.10' 'gspell>=1.2' 'cmark') makedepends=('mercurial' 'meson' 'help2man' 'gtk-doc' 'gobject-introspection') 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 }