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 /PKGBUILD | |
download | aur-3abbee7c39c6de45eb5d594cfa95e9acd71de8c6.tar.gz |
Initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
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/{}" \; +} |