blob: 82dcd87993d0c7ff514373acfdba37e606fccef9 (
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: Liam Greenough <beacon515@gmail.com>
pkgname=obs-websocket-git
pkgver=VERSION
pkgrel=1
pkgdesc="Remote control of OBS Studio made easy"
arch=('i686' 'x86_64')
url="https://github.com/Palakis/obs-websocket"
license=('GPL2')
depends=('obs-studio' 'qt5-websockets')
makedepends=('git' 'cmake')
provides=('obs-websocket')
conflicts=('obs-websocket')
source=('git+https://github.com/Palakis/obs-websocket.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/obs-websocket
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/obs-websocket
mkdir build && cd build
cmake -DLIBOBS_INCLUDE_DIR="/usr/share/obs/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/obs-websocket/build"
make DESTDIR="$pkgdir/" install
}
|