-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathPKGBUILD
More file actions
33 lines (31 loc) · 1008 Bytes
/
PKGBUILD
File metadata and controls
33 lines (31 loc) · 1008 Bytes
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
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=deepin-qt5platform-plugins-git
pkgver=5.7.24
pkgrel=1
sourcename=dde-qt5platform-plugins
sourcetars=("$sourcename"_"$pkgver".tar.xz)
sourcedir="qt5platform-plugins"
pkgdesc='Qt platform plugins for DDE'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/qt5platform-plugins"
license=('GPL3')
provides=('deepin-qt5platform-plugins')
conflicts=('deepin-qt5platform-plugins')
depends=('cairo' 'qt5-wayland' 'qt5-x11extras' 'qt5-base' 'dwayland')
makedepends=('git' 'expac' 'qt5-xcb-private-headers' 'libglvnd' 'ninja' 'cmake' 'libxcb' 'gtest' 'gmock' 'extra-cmake-modules')
groups=('deepin-git')
source=("${sourcetars[@]}")
sha512sums=('SKIP')
build() {
cd $sourcedir
cmake . -GNinja \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DQT_XCB_PRIVATE_HEADERS=/usr/include/qtxcb-private
ninja
}
package() {
cd $sourcedir
DESTDIR="$pkgdir" ninja install
}