pkg install, add link if package no have scripts
This commit is contained in:
36
assets/var/gnu/libreoffice/core.md
Normal file
36
assets/var/gnu/libreoffice/core.md
Normal file
@ -0,0 +1,36 @@
|
||||
libreoffice/core
|
||||
=
|
||||
https://github.com/LibreOffice/core.git
|
||||
|
||||
``` sh *** build ***
|
||||
/pkg/gnu/perl/bin/cpan Archive::Zip
|
||||
pkg enable openjdk17 2>/dev/null || true
|
||||
/pkg/gnu/python3/bin/pip3 install --root-user-action=ignore meson
|
||||
|
||||
echo "--with-parallelism=$(nproc)" >> autogen.input
|
||||
echo "--prefix=$pkgpath" >> autogen.input
|
||||
|
||||
rm -f /pkg/gnu/libreoffice/core/src/autogen.lastrun
|
||||
chown -R aeropkg:aeropkg /pkg/gnu/libreoffice/core
|
||||
mkdir -p /pkg/gnu/libreoffice/core
|
||||
chown -R aeropkg:aeropkg /pkg/gnu/libreoffice/core
|
||||
chmod -R o+rX /pkg/gnu/nss /pkg/gnu/nspr /pkg/gnu/python3 /pkg/gnu/perl
|
||||
|
||||
su -m aeropkg -c "
|
||||
cd /pkg/gnu/libreoffice/core/src
|
||||
./autogen.sh
|
||||
"
|
||||
|
||||
su -m aeropkg -c "
|
||||
cd /pkg/gnu/libreoffice/core/src
|
||||
make
|
||||
"
|
||||
|
||||
cd /pkg/gnu/libreoffice/core/src
|
||||
make install
|
||||
```
|
||||
|
||||
``` cfg *** build deps ***
|
||||
icu
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user