blob: 901088bc6e523d8c62797da2e3fec227e8d2e627 (
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
|
# Maintainer: Andrew Shark <ashark @ at @ linuxcomp.ru>
pkgname=zanshin-git
pkgver=0.5.71.r63.738623a1
pkgrel=1
pkgdesc="To-do management application for KDE"
arch=(x86_64)
url="https://zanshin.kde.org"
license=(GPL)
depends=(kdepim-runtime kontactinterface)
makedepends=(git extra-cmake-modules kdoctools boost)
source=(git+https://invent.kde.org/pim/zanshin.git)
sha256sums=('SKIP')
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
build() {
cmake -B build -S ${pkgname%-git} \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
|