Browse Source

[testing] -> [extra] 'qt5-wayland-5.15.0-1' move

master
artoo 2 years ago
parent
commit
70b77b0cc2
  1. 4
      repos/extra-x86_64/PKGBUILD
  2. 41
      repos/testing-x86_64/PKGBUILD

4
repos/extra-x86_64/PKGBUILD

@ -2,7 +2,7 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-wayland
_qtver=5.14.2
_qtver=5.15.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
@ -14,7 +14,7 @@ makedepends=('vulkan-headers')
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('d31633ca718fb407cf70870613d45d0ed80aa04c058586ac3036bae1aff7832a')
sha256sums=('084133e10bfbd32a28125639660c59975f23457bba6a79b30a25802cec76a9fb')
prepare() {
mkdir -p build

41
repos/testing-x86_64/PKGBUILD

@ -1,41 +0,0 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-wayland
_qtver=5.15.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides APIs for Wayland'
depends=('qt5-declarative' 'libxcomposite')
makedepends=('vulkan-headers')
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('084133e10bfbd32a28125639660c59975f23457bba6a79b30a25802cec76a9fb')
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}
}
Loading…
Cancel
Save