summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c9ca52f5a93ece3164e7ddd8c0aa47cc40e89d6 (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
# Maintainer: emersion <contact emersion fr>

pkgname=swayvkshot
pkgver=0.0.1
pkgrel=1
license=('MIT')
pkgdesc=' Sway screenshots for vulkan '
url='https://github.com/xiliuya/swayvkshot.git'
arch=('x86_64')
depends=(
    'libglvnd'
    'libinput'
    'libxcb'
    'opengl-driver'
    'wayland'
    'xcb-util-errors'
    'xcb-util-renderutil'
    'xcb-util-wm'
    'wlroots' 
    'libdrm'
)
makedepends=(
    'glslang'
    'meson'
    'ninja'
    'systemd'
    'vulkan-headers'
    'wayland-protocols'
    'xorg-xwayland'
)
source=("${pkgname%-*}::git+https://github.com/xiliuya/swayvkshot.git")
sha1sums=('SKIP')
provides=('swayvkshot')
conflicts=('swayvkshot')
build() {
    cd "${srcdir}"
    arch-meson "$pkgname" build
    ninja -C build
}


package() {
    install -Dm755 "$srcdir/build/swayvkshot" -t "$pkgdir/usr/bin/"
}