summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 838b3ea6380ef27ce7b5f7e64158ac41da3a8def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: Fanninger Thomas <thomas at fanninger dot at>

pkgname=prosody-mod-mam-archive
pkgver=2017.04.22
pkgrel=1
_commit="3e97dae28215"
pkgdesc="XEP-0136: Message Archiving for Prosody"
arch=('any')
url="https://modules.prosody.im/mod_mam_archive.html"
license=('MIT')
depends=('prosody')
makedepends=('mercurial')
source=("hg+https://hg.prosody.im/prosody-modules/"#revision=$_commit)
sha1sums=('SKIP')


package() {
  cd "${srcdir}/prosody-modules/mod_mam_archive"
  find . -type f -name '*.lua' -exec install -Dm 644 '{}' "${pkgdir}/usr/lib/prosody/modules/{}" \;
}