obs-studio-plugin-unix-sock.../archLinuxPackaging/PKGBUILD

25 lines
836 B
Text
Raw Normal View History

2023-08-13 06:44:38 +00:00
pkgname=obs-studio-plugin-unix-socket-control
2023-08-14 02:50:12 +00:00
pkgver=1.1
2023-08-13 06:44:38 +00:00
pkgrel=1
pkgdesc="An obs studio plugin to command obs to start/stop recording/streaming via unix socket"
arch=(x86_64)
url="https://git.seodisparate.com/stephenseo/obs-studio-plugin-unix-socket-control"
license=('MIT')
depends=(obs-studio)
makedepends=(cmake)
source=("${pkgname}_${pkgver}.tar.gz::$url/archive/$pkgver.tar.gz")
2023-08-14 02:50:12 +00:00
sha256sums=(2218af30e64ea33ca806815ae4f7a9b94b218be50f81ac12c4ad5c1da6f45b30)
2023-08-13 06:44:38 +00:00
build() {
cd "$pkgname"
mkdir buildRelease
cd buildRelease
cmake -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
install -D -m555 "$srcdir/$pkgname/buildRelease/libunix-socket-control.so" "$pkgdir/usr/lib/obs-plugins/lib$pkgname.so"
install -D -m555 "$srcdir/$pkgname/buildRelease/unix-socket-control-client" "$pkgdir/usr/bin/$pkgname-client"
}