summaryrefslogtreecommitdiff
path: root/user/oxygen-fonts
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-13 09:00:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-13 09:00:59 +0000
commit3a5eb59dc72572666a8d51a489cb396f23526541 (patch)
tree26caeb985595194b928a3312fecb9b16a31523eb /user/oxygen-fonts
parent24bb84929c1fcdfd3cab369b94ce63b02b7e3c7c (diff)
downloadpackages-3a5eb59dc72572666a8d51a489cb396f23526541.tar.gz
packages-3a5eb59dc72572666a8d51a489cb396f23526541.tar.bz2
packages-3a5eb59dc72572666a8d51a489cb396f23526541.tar.xz
packages-3a5eb59dc72572666a8d51a489cb396f23526541.zip
user/*: Modernise / fix syntax / deps / code
Diffstat (limited to 'user/oxygen-fonts')
-rw-r--r--user/oxygen-fonts/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/oxygen-fonts/APKBUILD b/user/oxygen-fonts/APKBUILD
index 152a0aae4..bf4202efb 100644
--- a/user/oxygen-fonts/APKBUILD
+++ b/user/oxygen-fonts/APKBUILD
@@ -10,10 +10,9 @@ license="OFL-1.1"
depends=""
makedepends="cmake extra-cmake-modules qt5-qtbase-dev fontforge-dev"
subpackages=""
-source="http://download.kde.org/stable/plasma/$pkgver/oxygen-fonts-$pkgver.tar.xz"
+source="https://download.kde.org/stable/plasma/$pkgver/oxygen-fonts-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -24,17 +23,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
}