diff options
author | Thomas Fanninger | 2016-06-05 15:50:10 +0200 |
---|---|---|
committer | Thomas Fanninger | 2016-06-05 15:50:10 +0200 |
commit | 3abbee7c39c6de45eb5d594cfa95e9acd71de8c6 (patch) | |
tree | 18eff98dbc3a12fda2f5c4284401f8c909e6ba84 | |
download | aur-3abbee7c39c6de45eb5d594cfa95e9acd71de8c6.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e0bbb468c12d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sun Jun 5 13:50:00 UTC 2016 +pkgbase = prosody-mod-default-bookmarks + pkgdesc = This module allows you to add default bookmarks for users. + pkgver = r2199.2582d09d2ec4 + pkgrel = 1 + url = https://modules.prosody.im/mod_mam_muc.html + arch = any + license = MIT + makedepends = mercurial + depends = prosody + source = hg+https://hg.prosody.im/prosody-modules/ + sha1sums = SKIP + +pkgname = prosody-mod-default-bookmarks + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ba863262d474 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Fanninger Thomas <thomas at fanninger dot at> + +pkgname=prosody-mod-default-bookmarks +pkgver=r2199.2582d09d2ec4 +pkgrel=1 +pkgdesc="This module allows you to add default bookmarks for users." +arch=('any') +url="https://modules.prosody.im/mod_mam_muc.html" +license=('MIT') +depends=('prosody') +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_default_bookmarks" + find . -type f -name '*.lua' -exec install -Dm 644 '{}' "${pkgdir}/usr/lib/prosody/modules/{}" \; +} |