blob: b53595841c5fc0568204b94de38628cca7c17c7e (
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
|
# Maintainer: BrLi <brli@chakralinux.org>
_pkgname=plugin-wingmenu
pkgname=lxqt-$_pkgname-git
pkgver=r29.5609864
pkgrel=1
pkgdesc="alternative menu plugin for lxqt-panel"
arch=(x86_64)
url="https://github.com/slidinghotdog/plugin-wingmenu"
license=('GPL')
groups=(lxqt)
depends=(liblxqt lxqt-panel)
makedepends=(lxqt-build-tools)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
cmake -B build -S .
cmake --build build
}
package() {
cd "$srcdir/${pkgname%-git}"
DESTDIR="$pkgdir/" cmake --install build
}
|