aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:05:34 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commit54d85ddec398f4cbf92e10f6fd145021597bb3e2 (patch)
tree5bc9e6878116640478b4ffe50c16307c1e04c9f1
parentd07d0827062b33621717d93fb33c5e06de45e2a2 (diff)
downloadaports-54d85ddec398f4cbf92e10f6fd145021597bb3e2.tar.gz
aports-54d85ddec398f4cbf92e10f6fd145021597bb3e2.tar.bz2
aports-54d85ddec398f4cbf92e10f6fd145021597bb3e2.tar.xz
community/kphotoalbum: move from testing
-rw-r--r--community/kphotoalbum/APKBUILD (renamed from testing/kphotoalbum/APKBUILD)12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/kphotoalbum/APKBUILD b/community/kphotoalbum/APKBUILD
index 4c53946212..60993a7fda 100644
--- a/testing/kphotoalbum/APKBUILD
+++ b/community/kphotoalbum/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
-pkgname="kphotoalbum"
-pkgver="5.6.1"
+pkgname=kphotoalbum
+pkgver=5.6.1
pkgrel=0
pkgdesc="KDE Photo Album, picture collection manager"
url="https://kphotoalbum.org"
@@ -14,20 +14,20 @@ subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/kphotoalbum/$pkgver/kphotoalbum-$pkgver.tar.xz"
build() {
- cmake -B "$builddir"/build \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make -C build
+ cmake --build build
}
check() {
- cd "$builddir"/build
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make -C build install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="fa1f4d566cd99e8c434b6e1fe28d8910b3b9c6aa05947ffbfa1b2b8efdab76f243f4b12883586e0c6692bfe54763a285374e16f3ceb23051619fe9b84cd58ea7 kphotoalbum-5.6.1.tar.xz"