shfmt
This commit is contained in:
@ -11,23 +11,22 @@ conflicts=('obs-ndi-git' 'obs-ndi-bin')
|
||||
deps=('avahi' 'libndi' 'obs-studio' 'sndio')
|
||||
build_deps=('cmake' 'obs-studio-libs(x86-32)')
|
||||
|
||||
|
||||
sources=("https://github.com/Palakis/obs-ndi/archive/${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/obs-ndi-${version}
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
cd ${srcdir}/obs-ndi-${version}
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
install -Dm755 build/obs-ndi.so ${pkgdir}/usr/lib/obs-plugins/obs-ndi.so
|
||||
install -Dm755 build/obs-ndi.so ${pkgdir}/usr/lib/obs-plugins/obs-ndi.so
|
||||
|
||||
install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
install -d ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
cp -a data/locale/* ${pkgdir}/usr/share/obs/obs-plugins/obs-ndi/locale
|
||||
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
Reference in New Issue
Block a user