aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-02-11 15:28:51 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-12 08:29:11 -0300
commit6f0985eafa0387e2ea0d7f57ab6fac706bc83b8e (patch)
tree35ae5484815837e718aeb41c45560ac9290c29cb /testing
parentfdf3c5552198f76d3f93fe19231ea4c258813d9a (diff)
downloadaports-6f0985eafa0387e2ea0d7f57ab6fac706bc83b8e.tar.bz2
aports-6f0985eafa0387e2ea0d7f57ab6fac706bc83b8e.tar.xz
testing/signon-plugin-oauth2: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/signon-plugin-oauth2/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/signon-plugin-oauth2/APKBUILD b/testing/signon-plugin-oauth2/APKBUILD
new file mode 100644
index 0000000000..6668fe6159
--- /dev/null
+++ b/testing/signon-plugin-oauth2/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=signon-plugin-oauth2
+pkgver=0.24
+pkgrel=0
+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"
+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
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ INSTALL_ROOT="$pkgdir" make install
+}
+
+sha512sums="8a1e5be7f34419ded7841cb4de62e03ab56556f39ae40e3e11b549d45c6c51edc6888d1aab254c0ba6746d6306bb8b92dd24e473387542d6a987208c20acf6d9 signon-plugin-oauth2-VERSION_0.24.tar.gz"