blob: 41906c81e47f430fb85b879325fa528414adbda4 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: User8395 <therealuser8395@proton.me>
pkgname=plasma-dialer-git
pkgver=6.7.90.r29.gad01548
pkgrel=1
pkgdesc="Dialer for Plasma Mobile"
arch=(any)
url="https://invent.kde.org/plasma-mobile/plasma-dialer"
license=('GPL3')
depends=(
ki18n-git
kcontacts-git
kpeople-git
knotifications-git
kio-git
kirigami-addons-git
plasma-wayland-protocols-git
modemmanager-qt-git
libphonenumber
callaudiod-git
)
source=('git+https://invent.kde.org/plasma-mobile/plasma-dialer.git')
makedepends=(cmake extra-cmake-modules-git)
sha256sums=('SKIP')
pkgver() {
cd "plasma-dialer"
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
mkdir -p build
}
build() {
cmake -B build -S plasma-dialer \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|