diff options
author | Narrat | 2021-01-08 22:28:50 +0100 |
---|---|---|
committer | Narrat | 2021-01-08 22:28:50 +0100 |
commit | e74b6b8b3e08dc7852bddc9bf4e3d2ac9e00a2bd (patch) | |
tree | 5445174808cb694a2b8857bebc3e64c2b19f9346 | |
download | aur-e74b6b8b3e08dc7852bddc9bf4e3d2ac9e00a2bd.tar.gz |
Prosody-mod-invites-adhoc: initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d36d1070fa0b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = prosody-mod-invites-adhoc + pkgdesc = Enable ad-hoc command for XMPP clients to create invitations + pkgver = 2020.09.11 + pkgrel = 1 + url = https://modules.prosody.im/mod_invites_adhoc.html + arch = any + license = MIT + makedepends = mercurial + depends = prosody + source = hg+https://hg.prosody.im/prosody-modules/#revision=2b6918714792 + sha1sums = SKIP + +pkgname = prosody-mod-invites-adhoc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bdc1bc668f63 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Lex Black <autumn-wind@web.de> + +pkgname=prosody-mod-invites-adhoc +pkgver=2020.09.11 +pkgrel=1 +_commit="2b6918714792" +pkgdesc="Enable ad-hoc command for XMPP clients to create invitations" +arch=('any') +url="https://modules.prosody.im/mod_invites_adhoc.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_adhoc" + 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}/{}" \; +} |