File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Maintainer: Felix Yan <felixonmars@archlinux.org>
2+ # Contributor: Andrea Scarpino <andrea@archlinux.org>
3+
4+ pkgname=qt5-location
5+ _basever=5.15.18
6+ pkgver=5.15.18+kde+r7
7+ pkgrel=2
8+ _commit=ba48a8b5cedd157d972c08d371ac2581db166bf7
9+ arch=(' x86_64' )
10+ url=' https://www.qt.io'
11+ license=(' GPL3' ' LGPL3' ' FDL' ' custom' )
12+ pkgdesc=' Provides access to position, satellite and area monitoring classes'
13+ depends=(' qt5-declarative' )
14+ makedepends=(' git' )
15+ groups=(' qt5' )
16+ _pkgfqn=${pkgname/ 5-/ }
17+ source=(kde-$_pkgfqn ::git+https://invent.kde.org/qt/qt/$_pkgfqn #commit=$_commit
18+ git+https://invent.kde.org/qt/qt/qtlocation-mapboxgl.git)
19+ sha256sums=(' 4a6bfee705b322f4cd044949be217f822b9f697e5e1ec228fdc3f31c29558e13'
20+ ' SKIP' )
21+
22+ pkgver () {
23+ cd kde-$_pkgfqn
24+ echo " $_basever +kde+r" ` git rev-list --count v$_basever -lts-lgpl..$_commit ` | sed -e ' s|+kde+r0||'
25+ }
26+
27+ prepare () {
28+ mkdir -p build
29+
30+ cd kde-$_pkgfqn
31+ git submodule init
32+ git submodule set-url src/3rdparty/mapbox-gl-native " $srcdir " /qtlocation-mapboxgl
33+ git -c protocol.file.allow=always submodule update
34+ }
35+
36+ build () {
37+ cd build
38+
39+ qmake ../kde-$_pkgfqn
40+ make
41+ }
42+
43+ package () {
44+ cd build
45+ make INSTALL_ROOT=" $pkgdir " install
46+
47+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
48+ find " $pkgdir /usr/lib" -type f -name ' *.prl' \
49+ -exec sed -i -e ' /^QMAKE_PRL_BUILD_DIR/d' {} \;
50+
51+ install -d " $pkgdir " /usr/share/licenses
52+ ln -s /usr/share/licenses/qt5-base " $pkgdir " /usr/share/licenses/${pkgname}
53+ }
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+
3+ from lilaclib import *
4+
5+
6+ def pre_build ():
7+ update_pkgver_and_pkgrel (_G .newver .lstrip ("v" ))
8+
9+
10+ def post_build ():
11+ git_pkgbuild_commit ()
Original file line number Diff line number Diff line change 1+ maintainers :
2+ - github : hubutui
3+
4+ build_prefix : extra-x86_64
5+
6+ update_on :
7+ - source : manual
8+ manual : 5.15.18+kde+r7
9+
You can’t perform that action at this time.
0 commit comments