summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-03 19:43:41 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commit14c8d8bcf5537bff30eeb47e9fc803adc147424e (patch)
treeebd2c725db0543a439ba8547e43b27d2e85f06ae /user
parentd3983ecd67d52c53bdb63e1dcaee88d74b0b517f (diff)
downloadpackages-14c8d8bcf5537bff30eeb47e9fc803adc147424e.tar.gz
packages-14c8d8bcf5537bff30eeb47e9fc803adc147424e.tar.bz2
packages-14c8d8bcf5537bff30eeb47e9fc803adc147424e.tar.xz
packages-14c8d8bcf5537bff30eeb47e9fc803adc147424e.zip
user/qt5-qtpurchasing: new package.
Diffstat (limited to 'user')
-rw-r--r--user/qt5-qtpurchasing/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qtpurchasing/APKBUILD b/user/qt5-qtpurchasing/APKBUILD
new file mode 100644
index 000000000..694e1680c
--- /dev/null
+++ b/user/qt5-qtpurchasing/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=qt5-qtpurchasing
+_pkgname=${pkgname#*-}-everywhere-src
+pkgver=5.15.3_git20201027
+pkgrel=0
+_commit=cbf444fb570ca4f4ca21d963d2ae4010f10d473e
+pkgdesc="Qt5 Purchasing is a cross-platform add-on library that enables Qt applications to support in-app purchases"
+url="https://www.qt.io/"
+arch="all"
+license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
+depends=""
+makedepends="qt5-qtbase-dev"
+subpackages="$pkgname-dev"
+source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz"
+builddir="$srcdir"/${pkgname#*-}-$_commit
+
+prepare() {
+ default_prepare
+
+ # Make configure think we are running in a git directory
+ # This makes it symlink the include files to the right directory
+ mkdir .git
+}
+
+build() {
+ qmake
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="2cbd111643296d7e2341d872e4705973dc92ba3f9018739c9d7b018c119e786ce15b17818c218bba3d1a375542078a37a2d79d5319e47d399b81838268f9b085 qtpurchasing-cbf444fb570ca4f4ca21d963d2ae4010f10d473e.tar.gz"