aboutsummaryrefslogtreecommitdiffstats
path: root/community/signon-plugin-oauth2/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-19 16:01:29 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:42 +0000
commit7bca9ef0b5ffb49dc60bab56ac0241e64a9e1306 (patch)
tree2414371e2211b3606bd016f65dbae0ac20aa746f /community/signon-plugin-oauth2/APKBUILD
parent8427d2b4943c43d00eeaddf395719ee973dce561 (diff)
downloadaports-7bca9ef0b5ffb49dc60bab56ac0241e64a9e1306.tar.gz
aports-7bca9ef0b5ffb49dc60bab56ac0241e64a9e1306.tar.bz2
aports-7bca9ef0b5ffb49dc60bab56ac0241e64a9e1306.tar.xz
community/signon-plugin-oauth2: move from testing
Diffstat (limited to 'community/signon-plugin-oauth2/APKBUILD')
-rw-r--r--community/signon-plugin-oauth2/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/signon-plugin-oauth2/APKBUILD b/community/signon-plugin-oauth2/APKBUILD
new file mode 100644
index 0000000000..9f7b54866d
--- /dev/null
+++ b/community/signon-plugin-oauth2/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=signon-plugin-oauth2
+pkgver=0.24
+pkgrel=1
+arch="all"
+url="https://gitlab.com/accounts-sso/signon-plugin-oauth2"
+pkgdesc="Signond OAuth 1.0 and 2.0 plugin"
+license="LGPL-2.1-only"
+makedepends="qt5-qtbase-dev signond-dev"
+source="https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/VERSION_$pkgver/signon-plugin-oauth2-VERSION_$pkgver.tar.gz
+ disable-werror.patch"
+subpackages="$pkgname-dev"
+builddir="$srcdir/$pkgname-VERSION_$pkgver"
+
+prepare() {
+ default_prepare
+
+ # Don't install tests and example
+ echo 'INSTALLS =' >> tests/tests.pro
+ echo 'INSTALLS =' >> example/example.pro
+}
+
+build() {
+ qmake-qt5 \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib
+ CPPFLAGS="$CPPFLAGS -Wno-error" make
+}
+
+check() {
+ make check
+}
+
+package() {
+ INSTALL_ROOT="$pkgdir" make install
+}
+
+sha512sums="8a1e5be7f34419ded7841cb4de62e03ab56556f39ae40e3e11b549d45c6c51edc6888d1aab254c0ba6746d6306bb8b92dd24e473387542d6a987208c20acf6d9 signon-plugin-oauth2-VERSION_0.24.tar.gz
+aaec3780ec164e20917a635c6f56ddf9d467a555972276a72d72e256a913f1addeb2952fbc9f4af184fa12fe528d3c812469c9bc613d4bc11ebcd03ee80ec6ec disable-werror.patch"