blob: e19fbbc21b2e6b6161b5b3321a9d81769675e3a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
NAME="qt5-qtscript"
DESC="Qt5 - QtScript component"
MAKEDEPS="qt5-qtbase linux-headers"
PKG_VER=
_commit="5cec94b2c1503f106f4ef4778d016410ebb86211"
SOURCE="https://invent.kde.org/qt/qt/qtscript/-/archive/$_commit/qtscript-$_commit.tar.gz"
ADDITIONAL="
qtscript-everywhere-src-5.10.1-sgidefs.patch
qtscript-s390x.patch
"
prepare() {
apply_patches
mkdir .git
}
build() {
qmake-qt5
make
}
package() {
make INSTALL_ROOT="$PKG_DEST" install
find "$PKG_DEST/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -d "$PKG_DEST"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtscript
}
|