summaryrefslogtreecommitdiff
path: root/user/qt5-qtsvg/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 20:36:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 20:36:40 -0500
commitf71702aa435f936571724a141a43eac9ad3e80bd (patch)
tree58ab5a1a7e348c7aea8c887f88b2248eeb32922a /user/qt5-qtsvg/APKBUILD
parent02f9a97e535fda3700dacc1425f8b58e48c3f306 (diff)
downloadpackages-f71702aa435f936571724a141a43eac9ad3e80bd.tar.gz
packages-f71702aa435f936571724a141a43eac9ad3e80bd.tar.bz2
packages-f71702aa435f936571724a141a43eac9ad3e80bd.tar.xz
packages-f71702aa435f936571724a141a43eac9ad3e80bd.zip
user/qt5-qtsvg: new package
Diffstat (limited to 'user/qt5-qtsvg/APKBUILD')
-rw-r--r--user/qt5-qtsvg/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/qt5-qtsvg/APKBUILD b/user/qt5-qtsvg/APKBUILD
new file mode 100644
index 000000000..e5384eb23
--- /dev/null
+++ b/user/qt5-qtsvg/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt5-qtsvg
+_pkgname=qtsvg-opensource-src
+pkgver=5.9.6
+pkgrel=0
+pkgdesc="Qt 5 - SVG rendering library"
+url="https://qt.io/"
+arch="all"
+license="LGPL-2.0 with exceptions OR GPL-3.0 with exceptions"
+makedepends="qt5-qtbase-dev zlib-dev"
+subpackages="$pkgname-dev"
+source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ qmake
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="6e86f050c07621d628f6e9440541be1fd80b3e05b034ba17bb5068afd4775d9ee08d7bf11d2ffdf03da2cb8ca66bfaf2f59b7e5e76acdb1a1e2ec25af25c65b4 qtsvg-opensource-src-5.9.6.tar.xz"