Skip to content
Snippets Groups Projects
Commit f72adbbf authored by Bart Ribbers's avatar Bart Ribbers Committed by Rasmus Thomsen
Browse files

community/kookbook: move from testing and take over maintainership

parent 466d105b
No related branches found
No related tags found
1 merge request!6968community/kde stuff: move from testing
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kookbook
pkgver=0.2.1
pkgrel=1
pkgrel=2
pkgdesc="Simple recipe manager taking structured markdown for recipes"
url="https://github.com/KDE/kookbook/blob/master/doc/intro.md"
arch="all !armhf"
......@@ -14,22 +14,15 @@ source="https://download.kde.org/unstable/kookbook/kookbook-$pkgver.tar.xz"
options="!check" # No tests
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} .
make
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --build build --target install
}
common() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment