diff --git a/gpu-screen-recorder-ui/alr.sh b/gpu-screen-recorder-ui/alr.sh index f5a09da..39e646d 100644 --- a/gpu-screen-recorder-ui/alr.sh +++ b/gpu-screen-recorder-ui/alr.sh @@ -1,6 +1,6 @@ name='gpu-screen-recorder-ui' version='1.3.0' -release='1' +release='2' desc='A fullscreen overlay UI for GPU Screen Recorder in the style of ShadowPlay.' desk_ru='Полноэкранный интерфейс наложения для GPU Screen Recorder в стиле ShadowPlay.' homepage='https://git.dec05eba.com/gpu-screen-recorder-ui' @@ -44,6 +44,7 @@ deps_arch=( build_deps=( "meson" + "ninja-build" "libglvnd-devel" "libX11-devel" "libXrandr-devel" @@ -58,6 +59,7 @@ build_deps=( ) build_deps_arch=( "meson" + "ninja" ) sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-ui.git.${version}.tar.gz") checksums=('SKIP') @@ -68,20 +70,20 @@ scripts=( build() { cd "$srcdir" - meson build - meson compile -C build -j $(($(nproc) - 1)) + meson setup build --prefix=/usr --buildtype=release -Dstrip=true + ninja -C build -j $(($(nproc) - 1)) } package() { cd "$srcdir" - meson install -C build --destdir "$pkgdir" + meson install -C build --destdir="$pkgdir" } files() { - echo ./usr/local/bin/gsr-global-hotkeys - echo ./usr/local/bin/gsr-ui - echo ./usr/local/bin/gsr-ui-cli - echo ./usr/local/lib/systemd/user/gpu-screen-recorder-ui.service - printf '"%s" ' ./usr/local/share/gsr-ui/fonts/* - printf '"%s" ' ./usr/local/share/gsr-ui/images/* + echo ./usr/bin/gsr-global-hotkeys + echo ./usr/bin/gsr-ui + echo ./usr/bin/gsr-ui-cli + echo ./usr/lib/systemd/user/gpu-screen-recorder-ui.service + printf '"%s" ' ./usr/share/gsr-ui/fonts/* + printf '"%s" ' ./usr/share/gsr-ui/images/* } \ No newline at end of file diff --git a/gpu-screen-recorder-ui/postinstall.sh b/gpu-screen-recorder-ui/postinstall.sh index 554c0df..dce9ab9 100644 --- a/gpu-screen-recorder-ui/postinstall.sh +++ b/gpu-screen-recorder-ui/postinstall.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/sbin/setcap cap_setuid+ep /usr/local/bin/gsr-global-hotkeys \ No newline at end of file +/usr/sbin/setcap cap_setuid+ep /usr/bin/gsr-global-hotkeys \ No newline at end of file diff --git a/gpu-screen-recorder/postinstall.sh b/gpu-screen-recorder/postinstall.sh index a72ac43..37724cc 100644 --- a/gpu-screen-recorder/postinstall.sh +++ b/gpu-screen-recorder/postinstall.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/sbin/setcap cap_sys_admin+ep /usr/local/bin/gsr-kms-server \ No newline at end of file +/usr/sbin/setcap cap_sys_admin+ep /usr/bin/gsr-kms-server \ No newline at end of file