summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f3549236035fd66f1d1064f89722d53c2f7db3f (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
# Maintainer: Tony Fettes < gustawho [ at ] gmail [ dot ] com >

pkgname=plasma5-applets-simplemenu-git
_gitname=plasma-simplemenu
pkgver=r92.dc841e7
pkgrel=1
pkgdesc="Simplified menu for your Plasma Desktop"
arch=('any')
url="https://invent.kde.org/plasma/plasma-simplemenu"
license=('GPL3')
depends=('plasma-workspace')
makedepends=('git' 'extra-cmake-modules')
provides=('plasma5-applets-simplemenu')
conflicts=('plasma5-applets-simplemenu')
source=("git+${url}.git")
sha256sums=('SKIP')

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

build() {
  mkdir -p cd ${srcdir}/${_gitname}/build
  cd ${srcdir}/${_gitname}/build
  cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr
}

package() {
  cd ${srcdir}/${_gitname}/build
  make DESTDIR="$pkgdir" install
}