summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70fd73e8c4158273a2f954b1d2fb685493eda513 (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
# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>

_pkgname=quiterss2
_gitcommit=1e13b1493efeb35ac8308a68e2635c6d985bf22f

pkgname=quiterss2-git
pkgver=0.0.1+1+1e13b14
pkgrel=1
pkgdesc="An open-source cross-platform news feed reader written in Qt/C++/QML"
arch=('x86_64')
url="https://github.com/QuiteRSS/quiterss2"
license=('GPL-3.0')
depends=('qt5-webengine')
makedepends=('git')
conflicts=('quiterss')
source=("git+${url}.git#commit=${_gitcommit}")
sha256sums=('SKIP')

build() {
  cd "${srcdir}/${_pkgname}"

  mkdir -p build && cd build
  qmake-qt5 CONFIG+=release PREFIX=/usr ../quiterss2.pro
  make
}

package() {
  cd "${srcdir}/${_pkgname}/build"

  make INSTALL_ROOT="$pkgdir/" install
}