plasma-mobile-arch/plasma-dialer/PKGBUILD
2024-08-09 14:54:24 -07:00

57 lines
1.4 KiB
Bash

# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Furkan Kardame <tech@fkardame.com>
# Contributor: Bhushan Shah <bhush94 at gmail dot com>
pkgname=plasma-dialer
pkgver=23.01.0
pkgrel=6
pkgdesc="Phone Dialer for Plasma Mobile"
arch=('aarch64' 'x86_64')
url="https://community.kde.org/Plasma/Mobile"
license=('GPL3')
depends=(callaudiod
desktop-file-utils
kcontacts
kdbusaddons
kio
kirigami-addons
knotifications
kpeople
libphonenumber
modemmanager-qt
pulseaudio-qt
qt5-feedback
qt5-quickcontrols2
qtmpris
telepathy-mission-control
ki18n
qt6-declarative)
makedepends=(cmake
extra-cmake-modules
kdoctools5
plasma-wayland-protocols
qt5-svg
qt5-tools
reuse)
#source=("https://download.kde.org/stable/plasma-mobile/$pkgver/$pkgname-$pkgver.tar.xz")
source=("$pkgname-$pkgver.tar.gz::https://invent.kde.org/plasma-mobile/plasma-dialer/-/archive/master/plasma-dialer-master.tar.gz")
install=$pkgname.install
#md5sums=('2c9795160dbe66c16510d02c0fb357d0')
md5sums=('SKIP')
build() {
# cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname-master \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
check() {
cd build
ctest --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}