upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / qt5-gsettings / trunk / PKGBUILD
blob931694c03fc0cad1f25aa8e5841490eec34c76d1
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
4 pkgname=qt5-gsettings
5 pkgver=1.3.0
6 pkgrel=1
7 pkgdesc="Qt-style wrapper for GSettings"
8 arch=('x86_64')
9 url="https://github.com/lirios/qtgsettings"
10 license=('LGPL3')
11 depends=('qt5-declarative' 'glib2')
12 makedepends=('liri-cmake-shared')
13 groups=('liri')
14 source=("https://github.com/lirios/qtgsettings/releases/download/v${pkgver}/qtgsettings-${pkgver}.tar.xz"
15         qtgsettings-qt-5.14.patch::https://github.com/lirios/qtgsettings/commit/153d3a85cc797f225ab466ae7d4e9c48b8bbf1bd.patch)
16 sha512sums=('943c6f58ca6876f1ea0991a6159dfea862c9f3292f7c63d86c8528bb2831c2df94931e5290016abc0fdf17f4805b5b893bb55d8a679e1ca68703b5d997a072e9'
17             '1331ef298efaa7d8269f4ad976aff1886603b1a634175b78de546605f312ccf8cce9f2eba0b111d2f4fb520ede01423f4a20ea44a51c3159017409b93dc629c9')
19 prepare() {
20   patch -d qtgsettings-$pkgver -p1 -i ../qtgsettings-qt-5.14.patch
21   mkdir -p build
24 build() {
25   cd build
26   cmake -DCMAKE_INSTALL_PREFIX=/usr ../qtgsettings-$pkgver
29 package() {
30   cd build
31   make DESTDIR="$pkgdir" install