summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf36f66a072d9ca3041183d423d0e2f86bfb5ce3 (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
# Maintainer: j605
# Maintainer: Albert Westra (odysseywestra@gmail.com)

_gitname=CasterSoundboard
pkgname=castersoundboard-git
pkgver=r108.c41a4f2
pkgrel=2
pkgdesc='A soundboard for hot-keying and playing back sounds. (For podcasting)'
arch=('x86_64' 'i686')
url="https://github.com/JupiterBroadcasting/CasterSoundboard"
license=('LGPL3')
depends=('qt5-multimedia' 'gst-plugins-good' 'gst-plugins-bad'
         'gst-plugins-ugly')
makedepends=('git')
source=('git+https://github.com/JupiterBroadcasting/CasterSoundboard.git')
md5sums=('SKIP')

pkgver() {
  cd "$_gitname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  [[ -d build ]] && rm -r build
  mkdir build && cd build

  qmake "../$_gitname/$_gitname" PREFIX=/usr
  make
}

package() {
  cd build
  make INSTALL_ROOT="$pkgdir/" install
}