summaryrefslogtreecommitdiff
path: root/libgnt3-hg/PKGBUILD
diff options
context:
space:
mode:
authorDeposite Pirate2021-10-31 06:36:59 +0100
committerDeposite Pirate2021-10-31 06:36:59 +0100
commit8fbede26be61ed7cc364a397e63cc620f62d0c2e (patch)
treeed055cb0e284c2301ee419d3f25c16edba0c0023 /libgnt3-hg/PKGBUILD
parent93b96b7fc70a74bf5cc0e31f13348c814a8121f5 (diff)
* Update libgnt
renamed: libgnt-hg/.SRCINFO -> libgnt3-hg/.SRCINFO renamed: libgnt-hg/.gitignore -> libgnt3-hg/.gitignore renamed: libgnt-hg/PKGBUILD -> libgnt3-hg/PKGBUILD
Diffstat (limited to 'libgnt3-hg/PKGBUILD')
-rw-r--r--libgnt3-hg/PKGBUILD34
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
+}