summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 23:35:47 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 23:35:47 +0000
commita384dd1c64a52ce29d5900956d9eead99ed176d3 (patch)
treeae5640d3dac71030a7515cacba1284ca60d65e57 /user
parentff16fad30a8d88779fefbb4a68895fa7acfc06e0 (diff)
downloadpackages-a384dd1c64a52ce29d5900956d9eead99ed176d3.tar.gz
packages-a384dd1c64a52ce29d5900956d9eead99ed176d3.tar.bz2
packages-a384dd1c64a52ce29d5900956d9eead99ed176d3.tar.xz
packages-a384dd1c64a52ce29d5900956d9eead99ed176d3.zip
user/kaffeine: Modernise
Diffstat (limited to 'user')
-rw-r--r--user/kaffeine/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/kaffeine/APKBUILD b/user/kaffeine/APKBUILD
index 737246458..40c15bb0a 100644
--- a/user/kaffeine/APKBUILD
+++ b/user/kaffeine/APKBUILD
@@ -15,7 +15,6 @@ subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/kaffeine/kaffeine-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -26,17 +25,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
}