blob: b248f93dddd35547da048422cec983c4f5fbe083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
pkgname=qt5-accountsservice
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-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 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 build
make DESTDIR="$pkgdir" install
}
|