Package Details: moodle 3.9.1-1

Git Clone URL: https://aur.archlinux.org/moodle.git (read-only, click to copy)
Package Base: moodle
Description: Moodle is an open-source software learning management system
Upstream URL: https://moodle.org/
Licenses: GPLv3
Conflicts: moodle-plus
Submitter: freaknils
Maintainer: TheGoliath
Last Packager: TheGoliath
Votes: 3
Popularity: 0.000000
First Submitted: 2015-08-27 11:19
Last Updated: 2020-07-14 14:30

Latest Comments

TrialnError commented on 2020-01-12 21:10

Addressed some of the points dvzrv mentioned. Although my main agenda was to get rid of the installation of files into root.
This PKGBUILD still needs some proper treatment after all.

dvzrv commented on 2018-03-05 12:53

@freaknils:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n20

You must install to "${pkgdir}". Always!

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n25

You have to symlink from an absolute path to "$pkgdir"

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n27

Please, use tmpfiles.d (man tmpfiles.d) for this (you can never rely on a user or group to be around during package creation!)! The http user and group are around as part of /usr/lib/sysusers.d/arch.conf.

Also, why does http need write access to "${pkgdir}/usr/share/webapps/${pkgname}" (don't forget the "${pkgdir}"!)? You should drop it or be more explicit as to which subfolder needs access.