archrelease: copy trunk to community-any
[ArchLinux/community.git] / deepin-qt5integration / trunk / PKGBUILD
blobbbea16b541f9c980856d918100399d45c19da483
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=deepin-qt5integration
4 pkgver=5.6.6
5 _commit=ed6366a44d6fff5534f1e1eda341134e16963626
6 pkgrel=2
7 pkgdesc='Qt platform theme integration plugins for DDE'
8 arch=('x86_64')
9 url="https://github.com/linuxdeepin/qt5integration"
10 license=('GPL3')
11 depends=('dtkwidget' 'kiconthemes' 'libqtxdg' 'deepin-qt5platform-plugins')
12 makedepends=('git' 'xcb-util-renderutil' 'deepin-file-manager' 'gtest')
13 groups=('deepin')
14 source=("git+https://github.com/linuxdeepin/qt5integration.git#commit=$_commit")
15 sha512sums=('SKIP')
17 prepare() {
18   cd qt5integration
19   # Use kiconthemes to correctly load dsvg plugins
20   # https://github.com/linuxdeepin/qt5integration/pull/129
21   git cherry-pick -n 822a6a40cddca1c89cc06169e42828b86c6f5a80
24 build() {
25   cd qt5integration
26   qmake-qt5 PREFIX=/usr
27   make -j1
30 package() {
31   cd qt5integration
32   make INSTALL_ROOT="$pkgdir" install