summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b09d086d209e3dd1cb2b1eae26cc5a6561edd9af (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
# Maintainer: johnnybash <georgpfahler@wachenzell.org>
# Contributor: Weegee <weegee at devzero dot info> 

pkgname=qlivestreamer-git
pkgver=20160909
pkgrel=1
pkgdesc="qLiveStreamer is a small Qt/C++ frontend for Livestreamer, inspired by gLiveStreamer."
arch=('i686' 'x86_64')
url="https://github.com/Hyperz/qLiveStreamer"
license=('GPL2')
depends=('qt5-base' 'livestreamer')
makedepends=('git')
source=('git+https://github.com/Hyperz/qLiveStreamer.git')
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')

_gitname=qLiveStreamer

pkgver() {
	cd "$_gitname"
  git log -1 --format='%cd' --date=short | tr -d -- '-'
}

build() {
	cd "$_gitname"
  qmake-qt5 PREFIX=/usr
	make
}

package() {
	cd "$_gitname"
	make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install
}