summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgnt-hg/.gitignore1
-rw-r--r--libgnt-hg/PKGBUILD34
2 files changed, 35 insertions, 0 deletions
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 <dpirate at metalpunks dot info>
+#
+# 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
+}