summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaizhao Zhang2018-07-19 12:47:31 +0800
committerKaizhao Zhang2018-07-19 12:47:31 +0800
commit54906192657592c0f246bf370433a9529d37b3b6 (patch)
tree5e79e7f00d8ac5797d85493e42e97bfa6e6735e7
downloadaur-quiterss2-git.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD31
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9d370df78c1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = quiterss2-git
+ pkgdesc = An open-source cross-platform news feed reader written in Qt/C++/QML
+ pkgver = 0.0.1+1+1e13b14
+ pkgrel = 1
+ url = https://github.com/QuiteRSS/quiterss2
+ arch = x86_64
+ license = GPL-3.0
+ makedepends = git
+ depends = qt5-webengine
+ conflicts = quiterss
+ source = git+https://github.com/QuiteRSS/quiterss2.git#commit=1e13b1493efeb35ac8308a68e2635c6d985bf22f
+ sha256sums = SKIP
+
+pkgname = quiterss2-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..924dfb95c20
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70fd73e8c41
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}