aboutsummaryrefslogtreecommitdiffstats
path: root/testing/print-manager
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 11:38:32 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:43:36 -0300
commit791148c89f5bc7397f1d302e874f952e33a041d7 (patch)
treefed1680e99dd93a6575fb4ef94c442c345ec2eb8 /testing/print-manager
parente93b55cf213fe6f11ea074124a11cd303c6afccc (diff)
downloadaports-791148c89f5bc7397f1d302e874f952e33a041d7.tar.bz2
aports-791148c89f5bc7397f1d302e874f952e33a041d7.tar.xz
testing/print-manager: new aport
Diffstat (limited to 'testing/print-manager')
-rw-r--r--testing/print-manager/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/print-manager/APKBUILD b/testing/print-manager/APKBUILD
new file mode 100644
index 0000000000..ea486cc51b
--- /dev/null
+++ b/testing/print-manager/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=print-manager
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://www.kde.org/applications/utilities/"
+pkgdesc="A tool for managing print jobs and printers"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev cups-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kiconthemes-dev ki18n-dev kcmutils-dev kio-dev knotifications-dev plasma-framework-dev kwidgetsaddons-dev kwindowsystem-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+options="!check" # No tests available
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="e7f3033153d930b3e811988fb13b18dc9dd27ae0893a3c8926a260b27f9bf505a78b8c8449eb7565aa160c97426f189fe7cc60d86ddc2d699f6ecbfe33918d55 print-manager-19.04.2.tar.xz"