summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorY2017-05-14 17:42:48 +0200
committerY2017-05-14 17:42:48 +0200
commit608e40cd4f903c7751e364916f92743f004be122 (patch)
treeb4a068efdc019311ea625d78420aa4b9bc5dc3bf
downloadaur-prosody-mod-offline-email-hg.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9a1284e37df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sun May 14 15:42:34 UTC 2017
+pkgbase = prosody-mod-offline-email-hg
+ pkgdesc = send by email the messages received while offline (if email/alias==jid)
+ pkgver = tip
+ pkgrel = 1
+ url = https://modules.prosody.im/mod_offline_email.html
+ arch = any
+ license = MIT
+ makedepends = mercurial
+ depends = prosody>=0.9
+ source = hg+https://hg.prosody.im/prosody-modules/
+ sha1sums = SKIP
+
+pkgname = prosody-mod-offline-email-hg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..852ebafe384
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Yves G. <theYinYeti@yalis.fr>
+
+pkgname=prosody-mod-offline-email-hg
+pkgver=tip
+pkgrel=1
+pkgdesc="send by email the messages received while offline (if email/alias==jid)"
+arch=('any')
+url="https://modules.prosody.im/mod_offline_email.html"
+license=('MIT')
+depends=('prosody>=0.9')
+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_offline_email"
+ find . -type f -name '*.lua' -exec install -Dm 644 '{}' "${pkgdir}/usr/lib/prosody/modules/{}" \;
+ find . -type f ! -name '*.lua' -exec install -Dm 644 '{}' "${pkgdir}/usr/share/doc/${pkgname}/{}" \;
+}