Update indentation and formatting
This commit is contained in:
parent
0a1698d0f1
commit
f2df8d03a4
1 changed files with 23 additions and 23 deletions
46
PKGBUILD
46
PKGBUILD
|
@ -13,37 +13,37 @@ source=("https://github.com/nowrep/$pkgbase/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0')
|
sha512sums=('55ba0c449cef9c80db82e98a2f6e282dfbf00a7ef0c180e307bd602ae13aadbb0383a38a56dcf4d67ed7ac1e5dd392be7ef71bb1e6f39278da69ed110c159bb0')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S "$pkgbase-$pkgver" \
|
cmake -B build -S "$pkgbase-$pkgver" \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DCMAKE_INSTALL_DATADIR=/share \
|
-DCMAKE_INSTALL_DATADIR=/share \
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
make -C build -j $(nproc)
|
make -C build -j $(nproc)
|
||||||
|
|
||||||
export CFLAGS="-m32 ${CFLAGS}"
|
export CFLAGS="-m32 ${CFLAGS}"
|
||||||
export CXXFLAGS="-m32 ${CXXFLAGS}"
|
export CXXFLAGS="-m32 ${CXXFLAGS}"
|
||||||
export LDFLAGS="-m32 ${LDFLAGS}"
|
export LDFLAGS="-m32 ${LDFLAGS}"
|
||||||
|
|
||||||
cmake -B build32 -S "$pkgbase-$pkgver" \
|
cmake -B build32 -S "$pkgbase-$pkgver" \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
||||||
-DCMAKE_INSTALL_DATADIR=/share \
|
-DCMAKE_INSTALL_DATADIR=/share \
|
||||||
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
-DCMAKE_LIBRARY_PATH=/usr/lib32 \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_PLUGIN=OFF
|
-DBUILD_PLUGIN=OFF
|
||||||
make -C build32 -j $(nproc)
|
make -C build32 -j $(nproc)
|
||||||
}
|
}
|
||||||
|
|
||||||
package_obs-vkcapture() {
|
package_obs-vkcapture() {
|
||||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
pkgdesc='OBS Linux Vulkan/OpenGL game capture'
|
||||||
|
|
||||||
make -C build DESTDIR="$pkgdir" install
|
make -C build DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
package_lib32-obs-vkcapture() {
|
package_lib32-obs-vkcapture() {
|
||||||
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
|
pkgdesc='OBS Linux Vulkan/OpenGL game capture (32-bit)'
|
||||||
depends=('lib32-vulkan-icd-loader' 'lib32-libgl')
|
depends=('lib32-vulkan-icd-loader' 'lib32-libgl')
|
||||||
|
|
||||||
make -C build32 DESTDIR="$pkgdir" install
|
make -C build32 DESTDIR="$pkgdir" install
|
||||||
rm -r "$pkgdir/usr/bin"
|
rm -r "$pkgdir/usr/bin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue