From 8fbede26be61ed7cc364a397e63cc620f62d0c2e Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 31 Oct 2021 06:36:59 +0100 Subject: * Update libgnt renamed: libgnt-hg/.SRCINFO -> libgnt3-hg/.SRCINFO renamed: libgnt-hg/.gitignore -> libgnt3-hg/.gitignore renamed: libgnt-hg/PKGBUILD -> libgnt3-hg/PKGBUILD --- libgnt3-hg/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libgnt3-hg/PKGBUILD (limited to 'libgnt3-hg/PKGBUILD') diff --git a/libgnt3-hg/PKGBUILD b/libgnt3-hg/PKGBUILD new file mode 100644 index 0000000..06c9de8 --- /dev/null +++ b/libgnt3-hg/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Deposite Pirate +# +# Upstream: https://git.metalpunks.info/arch-ports + +_pkgname=libgnt +pkgname=${_pkgname}3-hg +pkgver=r1454.86d548109b38 +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' 'gi-docgen') +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 + ninja -C build +} + +package() { + cd "${pkgname}" + DESTDIR="${pkgdir}" ninja -C build install +} -- cgit v1.2.3-70-g09d2