blob: ae783e5f7b82f94a4b156a05d87d7403efa1cb4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Lex Black <autumn-wind@web.de>
pkgname=prosody-mod-invites-api
pkgver=2023.01.11
pkgrel=1
_commit="1cae382e88a1"
pkgdesc="Authenticated HTTP API to create invites"
arch=('any')
url="https://modules.prosody.im/mod_invites_api.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_invites_api"
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}/{}" \;
}
|