opt/qtwebkit/Pkgfile

25 lines
517 B
Plaintext
Raw Normal View History

2016-10-02 11:52:16 +02:00
# Description: QtWebKit for qt5.
2017-02-10 10:11:59 +01:00
# URL: https://www.qt.io/
2016-10-02 11:52:16 +02:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: qt5 ruby icu
name=qtwebkit
2017-11-25 02:27:23 +01:00
version=5.9.1
release=1
source=(https://download.qt.io/archive/qt/${version::3}/$version/submodules/$name-opensource-src-$version.tar.xz)
2016-10-02 11:52:16 +02:00
build() {
cd $name-opensource-src-$version
install -d build
cd build
2017-11-25 02:27:23 +01:00
2016-10-02 11:52:16 +02:00
qmake-qt5 ..
make
make INSTALL_ROOT=$PKG install
find "$PKG/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}