aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-24 19:13:29 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-24 14:20:36 -0300
commitff962dd10244ffeaeeb5bc4e0921b251d9acc690 (patch)
tree85eabc146a9de00e4cc4e4e4d56585a6683292b6
parentf73a347788f195b2131d801a50afbebfc24b33fa (diff)
downloadaports-ff962dd10244ffeaeeb5bc4e0921b251d9acc690.tar.bz2
aports-ff962dd10244ffeaeeb5bc4e0921b251d9acc690.tar.xz
testing/libksane: new aport
-rw-r--r--testing/libksane/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libksane/APKBUILD b/testing/libksane/APKBUILD
new file mode 100644
index 0000000000..c89718e3c5
--- /dev/null
+++ b/testing/libksane/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libksane
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://www.kde.org/applications/graphics/"
+pkgdesc="An image scanning library"
+license="LGPL-2.1-only OR LGPL-3.0-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kwidgetsaddons-dev ktextwidgets-dev kwallet-dev sane-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+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="8fcf07000356c40fb25a6b1f4bff6b86d93a3ff836dd5d5f09acfb4c18728a4a355ae895220941cd4ee62456187458c1d649342c79ff838f172acc4fb7edfddb libksane-19.04.2.tar.xz"