Package Details: moodle 3.4-1

Git Clone URL: https://aur.archlinux.org/moodle.git (read-only)
Package Base: moodle
Description: Moodle is a open-source software learning management system
Upstream URL: https://moodle.org/
Licenses: GPLv3
Conflicts: moodle-plus
Submitter: freaknils
Maintainer: CarstenF
Last Packager: freaknils
Votes: 3
Popularity: 0.147160
First Submitted: 2015-08-27 11:19
Last Updated: 2017-11-29 19:27

Latest Comments

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.