diff options
author | Pier Luigi Fiorini | 2022-12-27 10:06:18 +0100 |
---|---|---|
committer | Pier Luigi Fiorini | 2022-12-27 10:06:18 +0100 |
commit | 2e58becca859122991358d36651492eb1703b8e4 (patch) | |
tree | b250ae88db5e92393a7e6d6c371145efeae643bc | |
parent | 486af25c0a4e3fc188bf8f601158c5a666db06d4 (diff) | |
download | aur-qt5-accountsservice.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 22 insertions, 17 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Wed Apr 25 23:33:55 UTC 2018 pkgbase = qt5-accountsservice pkgdesc = Qt-style wrapper for Accounts Service - pkgver = 1.2.0 + pkgver = 1.3.0 pkgrel = 1 url = https://liri.io arch = i686 @@ -11,10 +9,9 @@ pkgbase = qt5-accountsservice arch = armv7h groups = liri license = LGPL3 - makedepends = liri-qbs-shared + makedepends = liri-cmake-shared depends = qt5-declarative - source = https://github.com/lirios/qtaccountsservice/releases/download/v1.2.0/qtaccountsservice-1.2.0.tar.xz + source = https://github.com/lirios/qtaccountsservice/releases/download/v1.3.0/qtaccountsservice-1.3.0.tar.xz sha256sums = 358a31f1b7db2f726a5146115843677254da3ede2c91db8788eac1cf6a5a88b5 pkgname = qt5-accountsservice - @@ -1,29 +1,37 @@ # Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> pkgname=qt5-accountsservice -pkgver=1.2.0 +pkgver=1.3.0 pkgrel=1 pkgdesc="Qt-style wrapper for Accounts Service" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url='https://liri.io' license=('LGPL3') depends=('qt5-declarative') -makedepends=('liri-qbs-shared') +makedepends=('liri-cmake-shared') groups=('liri') source=("https://github.com/lirios/qtaccountsservice/releases/download/v${pkgver}/qtaccountsservice-${pkgver}.tar.xz") sha256sums=('358a31f1b7db2f726a5146115843677254da3ede2c91db8788eac1cf6a5a88b5') +prepare() { + mkdir -p build +} + build() { - cd qtaccountsservice-${pkgver} - qbs setup-toolchains --type gcc /usr/bin/g++ gcc - qbs setup-qt /usr/bin/qmake-qt5 qt5 - qbs config profiles.qt5.baseProfile gcc - qbs build --no-install -d build profile:qt5 \ - modules.lirideployment.prefix:/usr \ - modules.lirideployment.qmlDir:/usr/lib/qt/qml + cd build + cmake ../${_gitname} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING:BOOL=OFF \ + -DINSTALL_SYSCONFDIR=/etc \ + -DINSTALL_LIBDIR=/usr/lib \ + -DINSTALL_LIBEXECDIR=/usr/lib \ + -DINSTALL_QMLDIR=/usr/lib/qt/qml \ + -DINSTALL_PLUGINSDIR=/usr/lib/qt/plugins + make } package() { - cd qtaccountsservice-${pkgver} - qbs install -d build --no-build -v --install-root $pkgdir profile:qt5 + cd build + make DESTDIR="$pkgdir" install } |