summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17ecd8e1f70fda311f712ea116963ded4d0e75ab (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
# Maintainer: Michael Armbruster <michael@armbrust.me>
pkgname=recordurbate
pkgver=1.2.0
pkgrel=1
pkgdesc="A Bot to automatically record Chaturbate live streams"
url="https://github.com/maki-chan/Recordurbate"
arch=('any')
license=('GPL3')
depends=('python' 'youtube-dl' 'ffmpeg')
makedepends=('git')
source=("git+https://github.com/maki-chan/Recordurbate.git#tag=1.2.0")
sha256sums=('SKIP')

pkgver() {
  cd "Recordurbate"
  git describe --tags --abbrev=0 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "Recordurbate"
  python setup.py build
}

package() {
  cd "Recordurbate"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build 
}