summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD23
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c0085971a5f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sun Jun 5 11:18:12 UTC 2016
+pkgbase = prosody-mod-mam-muc
+ pkgdesc = XEP-0313: Message Archive Management for MUC for Prosody
+ pkgver = r2199.2582d09d2ec4
+ pkgrel = 1
+ url = https://modules.prosody.im/mod_mam_muc.html
+ arch = any
+ license = MIT
+ makedepends = mercurial
+ depends = prosody
+ depends = prosody-mod-mam
+ source = hg+https://hg.prosody.im/prosody-modules/
+ sha1sums = SKIP
+
+pkgname = prosody-mod-mam-muc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fe296f5e8a3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Fanninger Thomas <thomas at fanninger dot at>
+
+pkgname=prosody-mod-mam-muc
+pkgver=r2199.2582d09d2ec4
+pkgrel=1
+pkgdesc="XEP-0313: Message Archive Management for MUC for Prosody"
+arch=('any')
+url="https://modules.prosody.im/mod_mam_muc.html"
+license=('MIT')
+depends=('prosody' 'prosody-mod-mam')
+makedepends=('mercurial')
+source=("hg+https://hg.prosody.im/prosody-modules/")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/prosody-modules/"
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+
+package() {
+ cd "${srcdir}/prosody-modules/mod_mam_muc"
+ find . -type f -name '*.lua' -exec install -Dm 644 '{}' "${pkgdir}/usr/lib/prosody/modules/{}" \;
+}