summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67188b7685451540426978dc97beb97cab0eb3fd (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
# Maintainer: Tobias Langendorf <junglerobba@jngl.one>

pkgname=wlrobs
pkgver=1.0
pkgrel=1
pkgdesc="An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors"
arch=('i686' 'x86_64')
url='https://hg.sr.ht/~scoopta/wlrobs'
license=('GPL3')
depends=('obs-studio' 'wlroots')
makedepends=('meson')
source=("${pkgname}-v${pkgver}.tar.gz::https://hg.sr.ht/~scoopta/wlrobs/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
	cd "${pkgname}-v${pkgver}"
	meson build
	ninja -C build
}

package() {
	cd "${pkgname}-v${pkgver}"
	mkdir -p ${pkgdir}/usr/lib/obs-plugins
	install -D -m 0644 build/libwlrobs.so \
		${pkgdir}/usr/lib/obs-plugins/wlrobs.so
}