summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f54a34f2c0e9a1f8ee4ffa866a94ae16a5a121b4 (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
35
36
37
38
39
40
41
42
# Maintainer: ox55ff

pkgname=hycov-git
pkgver=0.34.0.1.r95.84b9f00
pkgrel=1
pkgdesc="Hyprland overview mode plugin, a new tile window workflow"
arch=(x86_64)
url="https://github.com/DreamMaoMao/hycov"
license=(MIT)
depends=(
  hyprland
)
makedepends=(
  git
  meson
  ninja
)
provides=(hycov)
conflicts=(hycov)
source=("git+https://github.com/DreamMaoMao/hycov.git")
b2sums=('SKIP')

pkgver() {
  git -C hycov describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}

build() {
  cd hycov

  meson setup build \
    --prefix     /usr \
    --buildtype  release

  meson compile -C build
}

package() {
  cd hycov

  meson install -C build \
    --destdir "$pkgdir"
}