Browse Source

[trunk] -> [testing] 'qt5-sensors-5.13.1-1' add

master
artoo 2 months ago
parent
commit
9f12616ada
2 changed files with 43 additions and 2 deletions
  1. +41
    -0
      repos/testing-x86_64/PKGBUILD
  2. +2
    -2
      trunk/PKGBUILD

+ 41
- 0
repos/testing-x86_64/PKGBUILD View File

@@ -0,0 +1,41 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=qt5-sensors
_qtver=5.13.1
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides access to sensor hardware and motion gesture recognition'
depends=('qt5-base')
makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('fa55e96bebb946326c46b720059536bce1e939a63b60f3c990a24ac8fec759d3')

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}
}

+ 2
- 2
trunk/PKGBUILD View File

@@ -2,7 +2,7 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=qt5-sensors
_qtver=5.13.0
_qtver=5.13.1
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
@@ -15,7 +15,7 @@ optdepends=('qt5-declarative: QML bindings')
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('1fae52836c786a9fd50e9e1d590384b9aea479f4569e33fc2d69536bbe2cde48')
sha256sums=('fa55e96bebb946326c46b720059536bce1e939a63b60f3c990a24ac8fec759d3')

prepare() {
mkdir -p build

Loading…
Cancel
Save