pmaports/kde/plasma-phonebook/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

32 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phonebook
pkgver=0_git20200308
pkgrel=0
_commit="fa6c2292ca276a92eeb3a006fc1cddf9d663d3dd"
pkgdesc="Contacts application which allows adding, modifying and removing contacts"
arch="all !armhf"
url="https://invent.kde.org/kde/plasma-phonebook"
license="GPL-2.0-only OR GPL-3.0-only"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev kpeople-dev kcontacts-dev kpeoplevcard-dev"
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-phonebook/-/archive/$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make -C build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="c208416e5874278044f35ed70272649fc6d52e3eaf01771c123a45b69d78e6d8c28aa189144e493f472fbf2867b0cd9ea979c813d2e03c4faf0e777c9a1b8d56 plasma-phonebook-fa6c2292ca276a92eeb3a006fc1cddf9d663d3dd.tar.gz"