summaryrefslogtreecommitdiff
path: root/talkatu-hg
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-23 12:05:04 +0200
committerDeposite Pirate2018-09-23 12:05:04 +0200
commit779c922cbabd1226f6d64b87da6857bece1923e9 (patch)
treef8158ee6b84f6f1220e04019e87a5a117e3a0c52 /talkatu-hg
parent64d6bd34120cb55fd89e44eb80ef12b7b9028762 (diff)
Rename the directory.
renamed: talkatu/PKGBUILD -> talkatu-hg/PKGBUILD
Diffstat (limited to 'talkatu-hg')
-rw-r--r--talkatu-hg/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/talkatu-hg/PKGBUILD b/talkatu-hg/PKGBUILD
new file mode 100644
index 0000000..f030199
--- /dev/null
+++ b/talkatu-hg/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+_pkgname=talkatu
+pkgname=$_pkgname-hg
+pkgver=r191.11dfbe8b2012
+pkgrel=1
+pkgdesc="Gtk+ widgets for chat software"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/pidgin/talkatu"
+license=('GPL2')
+depends=('gtk3>=3.10.0' 'glade>=2.0' 'gumbo-parser>=0.10' 'gspell>=1.2' 'cmark')
+makedepends=('mercurial' 'meson' 'help2man')
+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
+}