summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 782db9f37a38d540601c2c4fe869b007e42cf657 (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
# Maintainer: Michał Przybyś <michal@przybys.eu>
pkgname=kickoff-legacy-git
pkgver=r4.6bd1d39
pkgrel=1
pkgdesc='Kickoff launcher before the redesign in 5.21'
arch=(x86_64)
url='https://store.kde.org/p/1468103/'
license=(GPL2)
depends=(qt5-base
        qt5-declarative
        plasma-framework)
makedepends=(git
            extra-cmake-modules)
source=('git+https://invent.kde.org/mikeljohnson/kickoff-legacy.git')
sha256sums=(SKIP)

pkgver() {
  cd "${srcdir}/${pkgname%-git}"
  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cmake -DCMAKE_INSTALL_PREFIX=/usr -B build ${pkgname%-git}
  make -C build
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}