From e6e0f49b13594235d232e61aee11c4721c2b8981 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Thu, 27 Dec 2018 04:08:37 +0100 Subject: Add libgnt-hg. new file: libgnt-hg/.gitignore new file: libgnt-hg/PKGBUILD --- libgnt-hg/.gitignore | 1 + libgnt-hg/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 libgnt-hg/.gitignore create mode 100644 libgnt-hg/PKGBUILD diff --git a/libgnt-hg/.gitignore b/libgnt-hg/.gitignore new file mode 100644 index 0000000..67c973b --- /dev/null +++ b/libgnt-hg/.gitignore @@ -0,0 +1 @@ +libgnt-hg diff --git a/libgnt-hg/PKGBUILD b/libgnt-hg/PKGBUILD new file mode 100644 index 0000000..81b929b --- /dev/null +++ b/libgnt-hg/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Deposite Pirate +# +# Upstream: https://git.metalpunks.info/arch-ports + +_pkgname=libgnt +pkgname=$_pkgname-hg +pkgver=r1075.99ad336bd8bf +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 +} -- cgit v1.2.3-70-g09d2