Browse Source

[trunk] -> [staging] 'qt5-webview-5.12.1-1' add

master
artoo 4 years ago
parent
commit
a368e555cc
  1. 40
      repos/staging-x86_64/PKGBUILD
  2. 8
      trunk/PKGBUILD

40
repos/staging-x86_64/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=qt5-webview
_qtver=5.12.1
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides a way to display web content in a QML application'
depends=('qt5-webengine')
makedepends=()
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('092624ba45913f6c90f7311c96bb5c3e97f2c2b427d834d3669434f97234bc97')
prepare() {
mkdir -p build
}
build() {
cd build
qmake ../${_pkgfqn}
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
}

8
trunk/PKGBUILD

@ -2,19 +2,19 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=qt5-webview
_qtver=5.12.0
_qtver=5.12.1
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides a way to display web content in a QML application'
depends=('qt5-webengine')
makedepends=()
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('b7a82cc4edf9361d64155f0ec7848b37c947e0cfe9a9f03efe8af515c6326185')
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('092624ba45913f6c90f7311c96bb5c3e97f2c2b427d834d3669434f97234bc97')
prepare() {
mkdir -p build

Loading…
Cancel
Save