Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 00F76781D5C for ; Mon, 2 Sep 2019 12:04:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ADF2625127 for ; Mon, 2 Sep 2019 14:04:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f-2hi19-FByP; Mon, 2 Sep 2019 14:04:48 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567425886; bh=tH5pbsqteojyXGhqqdrHEbYgSMUdLBUSqBt2ONFkEP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ERx0vuCodTh7b9PRX9wTwR2UvcnwRBxUx9OfharjXI/wGT8dUii9EaeeVIk0tlsdG hb+brwGxIE0V4m8W/rVFUi6FBFcy/uuDRmcvBE9aR5TuPsUKe7rFgG0sk52EVGq8em vvFhnwD3i5RpZAYkBusg9FZu8W8azjPcuBToSgPo/QeVkoYbtPREqpT7eiZscvih4G Q8BDWUqBvjZgod/PGr76Td0TVKu7t+U1oM28bG7HFq6PBVeQTqSiglk68rACCJSIfr 27x9eaYPpiVTOYGoBwdhNALaSEjny59L7w+ipy4KEvydzBmnR6YzEIm4LwaWiVzI9F uQCR1H0RsZhfA== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH 2/3] testing/cantor: new aport Date: Mon, 2 Sep 2019 14:04:41 +0200 Message-Id: <20190902120442.17741-2-bribbers@disroot.org> In-Reply-To: <20190902120442.17741-1-bribbers@disroot.org> References: <20190902120442.17741-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/cantor/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/cantor/APKBUILD diff --git a/testing/cantor/APKBUILD b/testing/cantor/APKBUILD new file mode 100644 index 0000000000..ac865c688d --- /dev/null +++ b/testing/cantor/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=cantor +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="http://edu.kde.org/cantor/" +pkgdesc="KDE Frontend to Mathematical Software " +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev kconfig-dev kcrash-dev kcompletion-dev kdoctools-dev knewstuff-dev kiconthemes-dev ktexteditor-dev kcoreaddons-dev karchive-dev kparts-dev syntax-highlighting-dev ktextwidgets-dev kio-dev kxmlgui-dev ki18n-dev poppler-qt5-dev kpty-dev analitza-dev python3-dev discount-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/cantor-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="ed40d123211b7f1585affcd88fa9549d15ebcda3fa23cdbb6ea7fc932eb79b3d84428cc0552350644faebded17088887d0e3dcda5635c4ac69df56be395a63a1 cantor-19.08.0.tar.xz" -- 2.23.0