summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a346f5d25b3d922903bb116dae2e156fa7ec47ff (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: éclairevoyant
# Contributor: Kaizhao Zhang <zhangkaizhao at gmail dot com>

_pkgname=quiterss2
pkgname="$_pkgname-git"
pkgver=r199.4b3434f
pkgrel=1
epoch=1
pkgdesc="Cross-platform news feed reader written in Qt/C++/QML"
arch=('x86_64')
url="https://github.com/QuiteRSS/quiterss2"
license=('GPL3')
depends=('qt5-webengine')
makedepends=('git' 'qt5-tools')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
sha256sums=('SKIP')

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

build() {
	cd $_pkgname
	qmake-qt5 CONFIG+=release PREFIX=/usr quiterss2.pro
	make
}

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