summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-03 21:28:47 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commitee9674875f56304dbcb651c16594aa99b83d061b (patch)
tree00e2bca4351c7260cc495666b6dd8d3814d33694 /user
parente1be290d5b6cc3d0fabc372be0cad6ce00dd3ff0 (diff)
downloadpackages-ee9674875f56304dbcb651c16594aa99b83d061b.tar.gz
packages-ee9674875f56304dbcb651c16594aa99b83d061b.tar.bz2
packages-ee9674875f56304dbcb651c16594aa99b83d061b.tar.xz
packages-ee9674875f56304dbcb651c16594aa99b83d061b.zip
user/qt5-qttranslations: new package.
Diffstat (limited to 'user')
-rw-r--r--user/qt5-qttranslations/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qttranslations/APKBUILD b/user/qt5-qttranslations/APKBUILD
new file mode 100644
index 000000000..8e156cae4
--- /dev/null
+++ b/user/qt5-qttranslations/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=qt5-qttranslations
+_pkgname=${pkgname#*-}-everywhere-src
+pkgver=5.15.3_git20210606
+pkgrel=0
+_commit=8fbbdf21f127197f97b58c7d80d2fa2a59135638
+pkgdesc="Qt5 translations catalog"
+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"
+options="!dbg"
+depends=""
+makedepends="qt5-qttools-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="129c05ba94d4faa3c1362fa8888ad2a6defb0ba52f5751bef28e132944bf5430bf77bde0270fe8ea5bfbba54405af637b7bf36bf9645f74a3389a9b8688de4d9 qttranslations-8fbbdf21f127197f97b58c7d80d2fa2a59135638.tar.gz"