blob: 4beffee069896405bf92fca2ee3ce50a8d33cff8 (
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
43
44
45
46
47
|
# Maintainer: Attila Fidan <archlinux-buildsystem@print0.net>
pkgname=sov-git
_gitname=${pkgname%-git}
pkgver=0.94.r9.g1bcf5fa
pkgrel=1
pkgdesc="An overlay that shows schemas for all workspaces to make navigation in sway easier"
url="https://github.com/milgra/sov"
license=(GPL-3.0-only)
arch=(x86_64)
depends=(
freetype2
glew
glibc
libegl
libgl
libpng
libxkbcommon
wayland
)
makedepends=(
git
meson
wayland-protocols
)
provides=("sov=$pkgver")
conflicts=(sov)
source=("git+$url.git#branch=main")
b2sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
meson setup --prefix=/usr --buildtype=plain "$_gitname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|