summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74c07071ee8a9bd3a7327c5810cabe55d598824b (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: Adam Reichold <adam.reichold@t-online.de>

pkgname=qmediathekview-git
pkgver=r17.01f4578
pkgrel=1
pkgdesc='An alternative front-end to the MediathekView database. (development version)'
arch=('i686' 'x86_64' 'armv7h')
url='https://github.com/adamreichold/QMediathekView'
license=('GPL3')
depends=('qt5-base' 'xz' 'hicolor-icon-theme')
optdepends=('vlc: for direct playback of shows')
makedepends=('git' 'qt5-tools' 'boost')
conflicts=('qmediathekview')
source=('git+https://github.com/adamreichold/QMediathekView.git')
md5sums=('SKIP')

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

build() {
  cd "$srcdir/QMediathekView"

  qmake-qt5
  make
}

package() {
  cd "$srcdir/QMediathekView"

  make "INSTALL_ROOT=$pkgdir" install
}