blob: fb396f1ae78737b4ea38af1749dc79d089b1a5dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# qscintilla needs a qt5/qt6 split first, so build without qscintilla on i486 for now
if [ "$CARCH" = 'i486' ]; then
depends=(${depends[@]//qscintilla-qt5/})
fi
# At the time of writing, the upstream PGBUILD does the following at the end:
# jar --extract --file="$pkgdir/usr/share/octave/$pkgver/m/java/octave.jar"
# rm -rf "$pkgdir/usr/share/octave/$pkgver/m/java/octave.jar"
# jar --create --date="$ARCHIVE_DATE" --file="$pkgdir/usr/share/octave/$pkgver/m/java/octave.jar" ./*
#
# Our jar currently is too old to support --date, so for now, don't run those.
# And yes, I can't be bothered escaping the . in .jar
eval "$(declare -f package | sed '/jar /d;/rm -rf.*octave.jar/d')"
|