Move some things around for the sake of gettext

Gettext needs

- gperf
- python 2.3+

to regenerate files
This commit is contained in:
Samuel Tyler 2025-12-31 17:13:23 +11:00
parent 83dae02dbf
commit cf61139126
No known key found for this signature in database
GPG key ID: EB5091A5C77E8DC4
6 changed files with 81 additions and 71 deletions

View file

@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete
find . -name '*.info*' -delete -exec touch {} +
for d in doc tests lib src; do
cd $d
@ -17,3 +17,11 @@ src_prepare() {
src_configure() {
./configure --prefix="${PREFIX}"
}
src_compile() {
make "${MAKEJOBS}" MAKEINFO=true PREFIX="${PREFIX}"
}
src_install() {
make MAKEINFO=true PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" install
}