init
commit
9e2dfaf2b3
|
@ -0,0 +1,16 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Sun May 14 14:47:54 UTC 2017
|
||||
pkgbase = prosody-mod-auto-accept-subscriptions-hg
|
||||
pkgdesc = automatically accept subscriptions from other contacts (friendly environment)
|
||||
pkgver = tip
|
||||
pkgrel = 1
|
||||
url = https://modules.prosody.im/mod_auto_accept_subscriptions.html
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = mercurial
|
||||
depends = prosody>=0.8
|
||||
source = hg+https://hg.prosody.im/prosody-modules/
|
||||
sha1sums = SKIP
|
||||
|
||||
pkgname = prosody-mod-auto-accept-subscriptions-hg
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
pkgname=prosody-mod-auto-accept-subscriptions-hg
|
||||
pkgver=tip
|
||||
pkgrel=1
|
||||
pkgdesc="automatically accept subscriptions from other contacts (friendly environment)"
|
||||
arch=('any')
|
||||
url="https://modules.prosody.im/mod_auto_accept_subscriptions.html"
|
||||
license=('MIT')
|
||||
depends=('prosody>=0.8')
|
||||
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_auto_accept_subscriptions"
|
||||
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}/{}" \;
|
||||
}
|
Loading…
Reference in New Issue