# Maintainer: dec05eba pkgname=gpu-screen-recorder-gtk-git pkgver=r178.ff26b9b pkgrel=1 pkgdesc='Gtk frontend to gpu-screen-recorder, a shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux' arch=('x86_64') url="https://git.dec05eba.com/gpu-screen-recorder-gtk" license=('GPL3') depends=('gtk3' 'libx11' 'libxrandr' 'libpulse' 'libdrm' 'wayland' 'gpu-screen-recorder-git') provides=('gpu-screen-recorder-gtk') conflicts=('gpu-screen-recorder-gtk') source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/gpu-screen-recorder-gtk.git.${pkgver}.tar.gz") sha512sums=('cd713d7371e7c758ec4c03dc4f3833b01c92e32e16b95ecc96e0a7380a127a3093283b4dcd69d2568bd3a93a2dcf13ef0af5daa96994be0e0086164970dfe0da') build() { cd "$srcdir" ./build.sh } package() { cd "$srcdir" install -Dm755 "gpu-screen-recorder-gtk" "$pkgdir/usr/bin/gpu-screen-recorder-gtk" install -Dm644 "gpu-screen-recorder-gtk.desktop" "$pkgdir/usr/share/applications/com.dec05eba.gpu_screen_recorder.desktop" install -Dm644 com.dec05eba.gpu_screen_recorder.appdata.xml "$pkgdir/usr/share/metainfo/com.dec05eba.gpu_screen_recorder.appdata.xml" install -Dm644 icons/hicolor/64x64/apps/com.dec05eba.gpu_screen_recorder.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/com.dec05eba.gpu_screen_recorder.png" install -Dm644 icons/hicolor/128x128/apps/com.dec05eba.gpu_screen_recorder.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/com.dec05eba.gpu_screen_recorder.png" }