blob: 8492e0add474ed97dd072ae55d221cd3182de9c1 (
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
|
# Maintainer: Grafcube <grafcube at disroot dot org>
_pkgname=kde-builder
pkgname="${_pkgname}-git"
pkgver=r467.0fbeb97
pkgrel=2
pkgdesc="A tool to build KDE software"
url="https://kde-builder.kde.org/en/introduction/brief-intro.html"
arch=("any")
license=("GPL-2.0-or-later")
depends=("git" "dbus-python" "python-yaml" "python-setproctitle")
makedepends=()
provides=(kde-builder)
conflicts=(kde-builder)
optdepends=(
'python-pytest: testing support'
)
source=("git+https://invent.kde.org/sdk/${_pkgname}.git")
sha256sums=("SKIP")
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
install -dm755 "${pkgdir}/usr/share"
cp -r "${srcdir}/${_pkgname}" "${pkgdir}/usr/share/${_pkgname}"
install -dm755 "${pkgdir}/usr/bin"
ln -sf "/usr/share/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -dm755 "${pkgdir}/usr/share/zsh/site-functions"
ln -sf "/usr/share/${_pkgname}/data/completions/zsh/_kde-builder" "${pkgdir}/usr/share/zsh/site-functions/_kde-builder"
ln -sf "/usr/share/${_pkgname}/data/completions/zsh/_kde-builder_projects_and_groups" "${pkgdir}/usr/share/zsh/site-functions/_kde-builder_projects_and_groups"
}
|