diff options
author | Y | 2017-05-15 20:09:20 +0200 |
---|---|---|
committer | Y | 2017-05-15 20:09:20 +0200 |
commit | 653f2d31d65ec23199f12bfc1e9e819d2cee0257 (patch) | |
tree | a8fc5f8221bc8d81da9447c0dd2b0e23e4ebe2a7 | |
download | aur-prosody-mod-auth-ldap2-hg.tar.gz |
init
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c8ea75621b5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon May 15 18:08:58 UTC 2017 +pkgbase = prosody-mod-auth-ldap2-hg + pkgdesc = LDAP authentication through OpenLDAP for Prosody + pkgver = tip + pkgrel = 1 + url = https://modules.prosody.im/mod_auth_ldap2.html + arch = any + license = MIT + makedepends = mercurial + depends = prosody + depends = prosody-mod-lib-ldap-hg + source = hg+https://hg.prosody.im/prosody-modules/ + sha1sums = SKIP + +pkgname = prosody-mod-auth-ldap2-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dbbc0af2983b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yves G. <theYinYeti@yalis.fr> + +pkgname=prosody-mod-auth-ldap2-hg +pkgver=tip +pkgrel=1 +pkgdesc="LDAP authentication through OpenLDAP for Prosody" +arch=('any') +url="https://modules.prosody.im/mod_auth_ldap2.html" +license=('MIT') +depends=('prosody' 'prosody-mod-lib-ldap-hg') +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_auth_ldap2" + 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}/{}" \; +} |