summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b4eec2199add1da917ebe352ca8cc430246b60d (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: VienC
# NOTE: This pulls the binary (already build) from 3rd party mirror

: ${_pkgver:=0.4.4}

# Basic INFO
_pkgname="simplescreenrecorder"
pkgname="$_pkgname-bin"
pkgver=0.4.4
pkgrel=1
pkgdesc="A simple but powerful recording tool for X11, OpenGL and V4L2. (Git version)"
url="https://github.com/MaartenBaert/ssr"
arch=('x86_64')
license=('GPL3')
depends=("qt5-base" "qt5-x11extras"
    "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu" "v4l-utils"
    "libx11" "libxext" "libxfixes" "libxi" "libxinerama"
    "desktop-file-utils" "gtk-update-icon-cache")
makedepends=()
optdepends=("lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications")

if [ x"$_pkgname" != x"$pkgname" ] ; then
  provides=("$_pkgname")
  conflicts=("$_pkgname" "simplescreenrecorder-git")
fi

options=('!emptydirs' '!strip')
install="$_pkgname.install"
#        https://builds.garudalinux.org/repos/chaotic-aur/x86_64/simplescreenrecorder-0.4.4-2.1-x86_64.pkg.tar.zst
#        https://builds.garudalinux.org/repos/chaotic-aur/x86_64/simplescreenrecorder-git-0.4.4-2.1-x86_64.pkg.tar.zst
_dl_url="https://builds.garudalinux.org/repos/chaotic-aur/x86_64/simplescreenrecorder-${_pkgver}-2.1-x86_64.pkg.tar.zst"
_dl_filename="simplescreenrecorder-${_pkgver}-2.1-x86_64.pkg.tar.zst"

source=(
  "https://builds.garudalinux.org/repos/chaotic-aur/x86_64/$_dl_filename"
)
sha256sums=(
  'bbdb4580031854522d57490b15d99522f0d60913308646a8712d51cd6e433f21'
)

pkgver() {
  printf '%s' "$_pkgver"
}


package() {
  mkdir -p "$srcdir/tmp_pkg"
  tar -xvf "$srcdir/$_dl_filename" -C "$srcdir/tmp_pkg"
  cp -r "$srcdir/tmp_pkg"/* "$pkgdir/"
}