opt/qtwebkit/Pkgfile
2017-11-25 12:27:23 +11:00

25 lines
517 B
Plaintext

# Description: QtWebKit for qt5.
# URL: https://www.qt.io/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: qt5 ruby icu
name=qtwebkit
version=5.9.1
release=1
source=(https://download.qt.io/archive/qt/${version::3}/$version/submodules/$name-opensource-src-$version.tar.xz)
build() {
cd $name-opensource-src-$version
install -d build
cd build
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' {} \;
}