summaryrefslogtreecommitdiff
path: root/user/kphotoalbum/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 20:22:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 20:22:23 +0000
commit1d895bc290dbcead10b253a6d2e28901f1fc612d (patch)
tree1eec37f3b27908a999d26fbdbbb62ee2eb99876e /user/kphotoalbum/APKBUILD
parent3d50289d5cbf19f881491ee4f6bf680422ba1883 (diff)
downloadpackages-1d895bc290dbcead10b253a6d2e28901f1fc612d.tar.gz
packages-1d895bc290dbcead10b253a6d2e28901f1fc612d.tar.bz2
packages-1d895bc290dbcead10b253a6d2e28901f1fc612d.tar.xz
packages-1d895bc290dbcead10b253a6d2e28901f1fc612d.zip
user/[misc KDE]: Bump to most recent stable
Diffstat (limited to 'user/kphotoalbum/APKBUILD')
-rw-r--r--user/kphotoalbum/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/kphotoalbum/APKBUILD b/user/kphotoalbum/APKBUILD
index e47058f3d..7968c5e45 100644
--- a/user/kphotoalbum/APKBUILD
+++ b/user/kphotoalbum/APKBUILD
@@ -16,7 +16,6 @@ subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/kphotoalbum/$pkgver/kphotoalbum-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -27,17 +26,15 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}