diff options
Diffstat (limited to 'libgnt3-hg/PKGBUILD')
-rw-r--r-- | libgnt3-hg/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <dpirate at metalpunks dot info> +# +# 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 +} |