summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3f7fa8dee890a1cda404a02d1b3e1b75c02a095 (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
# Maintainer: tytan652 <tytan652@tytanium.xyz>

pkgname=obs-time-warp-scan
pkgver=0.1.7
pkgrel=1
pkgdesc="Time Warp Scan filter for OBS Studio"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/time-warp-scan.1167/"
license=("GPL2")
depends=("obs-studio>=28")
makedepends=("cmake" "git")
source=("$pkgname::git+https://github.com/exeldro/$pkgname#commit=f955f8e3baa362efa88ee9a49e30a80bbd5baa6f")
sha256sums=("SKIP")

build() {
  cd "$pkgname"
  cmake -B build \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  -DCMAKE_INSTALL_PREFIX='/usr' \
  -DCMAKE_INSTALL_LIBDIR=lib \
  -DLINUX_PORTABLE=OFF

  make -C build
}

package() {
  cd "$pkgname"
  make -C build DESTDIR="$pkgdir/" install
}