summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df158a6cfd90a043e05645ee8e20d88340d31378 (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
# Maintainer: Vescrity <vescrity@foxmail.com>
_pkgname=wfrc
pkgname="$_pkgname-git"
pkgver=r36.c04ab6f
pkgrel=1
pkgdesc="Simple script makes screencast on wlroots compositors with shortcut easily."
arch=(any)
license=(LGPL-2.1-only)
url="https://github.com/Vescrity/wfrc"
depends=(
    bash
    slurp
    libnotify
    libpulse
    wl-clipboard
)
optdepends=(
    'pulse-native-provider: To record audio in the screencast'
    'wf-recorder: Default backend.'
    'wl-screenrec: Another backend.'
)
makedepends=(
  git
)
provides=(wfrc)
conflicts=()
source=("git+https://github.com/Vescrity/wfrc")
sha256sums=('SKIP')
pkgver() {
    cd "$srcdir/wfrc"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
  cd "$srcdir/wfrc"
  install -d "${pkgdir}/usr/bin"
  install -Dm755 "wfrc" "${pkgdir}/usr/bin/wfrc"
}