File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ prepare(){
46
46
47
47
build () {
48
48
cmake -B build -S $_pkgfqn \
49
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
49
50
-DCMAKE_INSTALL_PREFIX=/usr \
50
51
-DCMAKE_BUILD_TYPE=None \
51
52
-DBUILD_TESTS=OFF \
Original file line number Diff line number Diff line change
1
+ # This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2
+ # See COPYING for license details.
3
+ #
4
+ # from AUR - adapted our style
5
+ #
6
+ # Old Maintainer: Felix Yan <[email protected] >
7
+ # Old Maintainer: Antonio Rojas <[email protected] >
8
+
9
+ pkgname=qt5-datavis3d
10
+ _basever=5.15.17
11
+ pkgver=5.15.17
12
+ pkgrel=1
13
+ _commit=a57e633b675d7886c3e5c64441f50ffe831f2de8
14
+ pkgdesc=' Qt Data Visualization module.'
15
+ arch=(' x86_64' ' aarch64' )
16
+ url=' https://www.qt.io/'
17
+ license=(' GPL3' )
18
+ depends=(' qt5-base' )
19
+ makedepends=(' qt5-declarative' ' git' )
20
+ optdepends=(' qt5-declarative: QML bindings' )
21
+ groups=(' qt5' )
22
+ _pkgfqn=${pkgname/ 5-/ }
23
+ source=(kde-$_pkgfqn ::git+https://invent.kde.org/qt/qt/$_pkgfqn #commit=$_commit )
24
+ sha256sums=(' 8f264ff76d4899955fb1b820a8f38f197b1a8febd8930bacffcf5affe0733fe8' )
25
+
26
+ pkgver () {
27
+ cd " kde-$_pkgfqn "
28
+
29
+ echo " $_basever +kde+r" ` git rev-list --count v$_basever -lts-lgpl..$_commit ` |
30
+ sed -e ' s|+kde+r0||'
31
+ }
32
+
33
+ prepare () {
34
+ mkdir -p build
35
+ }
36
+
37
+ build () {
38
+ cd build
39
+
40
+ qmake " ../kde-$_pkgfqn "
41
+ make
42
+ }
43
+
44
+ package () {
45
+ cd build
46
+
47
+ make INSTALL_ROOT=" $pkgdir " install
48
+
49
+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
50
+ find " $pkgdir /usr/lib" -type f -name ' *.prl' \
51
+ -exec sed -i -e ' /^QMAKE_PRL_BUILD_DIR/d' {} \;
52
+ }
53
+
Original file line number Diff line number Diff line change
1
+ This package is part of the ` qt5 ` suite, and is managed by the scripts at https://gitlab.archlinux.org/archlinux/kde-build .
2
+
3
+ Do not upgrade this package individually, or make any format changes to the PKGBUILD without checking with the Qt package maintainers first.
You can’t perform that action at this time.
0 commit comments