kde/qrca: new aport (!714)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
8b7c90d328
commit
6ba6b0aae1
1 changed files with 41 additions and 0 deletions
41
kde/qrca/APKBUILD
Normal file
41
kde/qrca/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=qrca
|
||||
pkgver=0_git20191031
|
||||
pkgrel=0
|
||||
_commit="72a599eafeadb14e1a547bac128e9e9b7c38ba52"
|
||||
pkgdesc="QR-Code scanner for Plasma Mobile"
|
||||
arch="all"
|
||||
url="https://invent.kde.org/kde/qrca"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="kirigami2"
|
||||
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qtmultimedia-dev kirigami2-dev purpose-dev ki18n-dev kcontacts-dev kcoreaddons-dev zxing-cpp-dev"
|
||||
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/qrca/-/archive/$_commit.tar.gz"
|
||||
options="!check" # No tests
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
mkdir "$builddir"/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"/build
|
||||
cmake "$builddir" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"/build
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"/build
|
||||
DESTDIR="$pkgdir" make install
|
||||
}
|
||||
sha512sums="4d6646d60aeec699583d56848c338799f5c77e221809aaf5ccbae518660e927b119558ca7ddccd4effdd9467b3c34222b1b560c53c82d8e103a187806a0d1393 qrca-72a599eafeadb14e1a547bac128e9e9b7c38ba52.tar.gz"
|
Loading…
Reference in a new issue