diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-10-15 19:57:13 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2025-01-11 17:30:29 +0000 |
commit | 0813ce4e14c59dbba1cdb971f5b47e39e350ae58 (patch) | |
tree | d0dc695f9cf3d3d969d1eb66f1b17cbab5917c75 | |
parent | 6293dedc8de46d8791e69fa604e07d59f4a3584d (diff) | |
download | void-packages-user/luca/movim.tar void-packages-user/luca/movim.tar.gz void-packages-user/luca/movim.tar.bz2 void-packages-user/luca/movim.tar.lz void-packages-user/luca/movim.tar.xz void-packages-user/luca/movim.tar.zst void-packages-user/luca/movim.zip |
New package: movim-0.29.user/luca/movim
-rw-r--r-- | srcpkgs/movim/template | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/srcpkgs/movim/template b/srcpkgs/movim/template new file mode 100644 index 00000000000..a6e66f3912e --- /dev/null +++ b/srcpkgs/movim/template @@ -0,0 +1,42 @@ +# Template file for 'movim' +pkgname=movim +version=0.29 +revision=1 +_depends="php php-imagick php-pgsql php-gd libcurl" +hostmakedepends="composer unzip ${_depends}" +depends="${_depends}" +short_desc="Federated blogging and chat platform" +maintainer="Luca Matei Pintilie <luca@lucamatei.com>" +license="GPL-3.0-or-later" +homepage="https://movim.eu/" +changelog="https://github.com/movim/movim/raw/master/CHANGELOG.md" +distfiles="https://github.com/movim/movim/archive/refs/tags/v${version}.tar.gz" +checksum=59358a6ee4ffa12b68d84530633ff00775e6bf115ccaa62ebfd3566a0c9777df + +make_dirs=" +/var/lib/movim/log 0750 http http +/var/lib/movim/public/cache 0750 http http +/var/lib/movim/cache 0750 http http +" + +pre_build() { + cp /etc/php*/php.ini php.ini + echo " +extension=curl +extension=gd +extension=imagick +" >> php.ini +} + +do_build() { + php -c php.ini /usr/libexec/composer.phar* install +} + +post_build() { + rm php.ini +} + +do_install() { + vmkdir var/lib/movim + cp -r . "$DESTDIR/var/lib/movim" +} |