blob: 53602dfb2a3c9520a4ac20d6046fa83eca39bbc9 (
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
|
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
_pkgname=ktelephone
pkgname=${_pkgname}-git
pkgver=r80.f82037b
pkgrel=1
pkgdesc="Qt softphone - Highly inspired by Telephone"
arch=(x86_64)
url="https://github.com/StefanYohansson/ktelephone"
license=("GPL3")
depends=("pjproject" "qt5-multimedia")
makedepends=("git" "cmake")
provides=($_pkgname)
conflicts=($_pkgname)
source=("${_pkgname}::git+https://github.com/StefanYohansson/ktelephone")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p "build"
}
build() {
cd "build"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
"../$_pkgname"
make
}
package() {
cd "build"
make DESTDIR="$pkgdir/" install
}
|