summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfd541fa1cf5403bde9cfb6c6b30e6ae6d5573a9 (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
# Maintainer: Chris Mullins <christopher.r.mullins gmail>

_pkgname=bashcaster
pkgname=${_pkgname}-git
pkgver=r7.5c2e454
pkgrel=1
pkgdesc="Bashcaster is a simple script that uses ffmpeg to record screencasts to videos or GIFs. It can record the whole screen or a window. It can optionally optimize GIFs with gifsicle.
"
arch=("any")

url="https://github.com/alphapapa/bashcaster"
license=("GPL3")

depends=("ffmpeg" "xorg-xprop" "xorg-xwininfo" "yad")
optdepends=("gifsicle")
makedepends=("git")
conflicts=("${_pkgname}")

source=(
    "${_pkgname}::git+https://github.com/alphapapa/${_pkgname}.git"
)
sha512sums=(
    "SKIP"
)
pkgver() {
  cd "${_pkgname}"
  printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "${_pkgname}"

    install -m755 -D "bashcaster.sh" "$pkgdir/usr/bin/bashcaster"
    install -m644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}