blob: 369b12c36685cc2ebf0c33c40d54a69e273abda3 (
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
35
36
37
|
# Maintainer: Daniel Kutka <dano.kutka@gmail.com>
pkgname=quickddit
_pkgname=Quickddit
pkgver=1.2
pkgrel=2
pkgdesc="Unofficial reddit client"
arch=('x86_64' 'armv7' 'aarch64')
url="https://github.com/accumulator/Quickddit.git"
license=('GPL3')
depends=(qqc2-suru-style-git yaru-icon-theme-git qt5-base qt5-declarative qt5-quickcontrols2 qt5-webengine youtube-dl python-pyotherside qt5-graphicaleffects)
makedepends=('git')
source=('git+https://github.com/dano6/Quickddit.git#branch=5.12')
md5sums=('SKIP')
optdepends=(
'qqc2-breeze-style: Breeze style'
'qqc2-desktop-style: KDE desktop style'
'breeze-icons: Breeze icons'
)
prepare() {
cd ${_pkgname}
git submodule update --init qt-json
}
build() {
cd ${_pkgname}/ubuntu-touch
qmake-qt5 FLAVOR=qtcontrols PREFIX=/usr DEFINES+="REDDIT_CLIENT_ID=\'\\\"2AXy2YiJYhpFkA\\\"\' REDDIT_REDIRECT_URL=\'\\\"http://localhost/\\\"\' REDDIT_CLIENT_SECRET=\'\\\"\\\"\'"
make
}
package() {
cd ${_pkgname}/ubuntu-touch
make INSTALL_ROOT="${pkgdir}/" install
}
|