aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:09:24 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:42 +0000
commitf72adbbfcc154cbeae25f6496b0857d2e414b4ec (patch)
treeb7b23c087176ec53e8f7b7604908fe16737db05a /testing
parent466d105b8020dd27c0160a36a0ca5c248482dac6 (diff)
downloadaports-f72adbbfcc154cbeae25f6496b0857d2e414b4ec.tar.bz2
aports-f72adbbfcc154cbeae25f6496b0857d2e414b4ec.tar.xz
community/kookbook: move from testing and take over maintainership
Diffstat (limited to 'testing')
-rw-r--r--testing/kookbook/APKBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/testing/kookbook/APKBUILD b/testing/kookbook/APKBUILD
deleted file mode 100644
index d171927627..0000000000
--- a/testing/kookbook/APKBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Contributor: Luca Weiss <luca@z3ntu.xyz>
-# Maintainer: Luca Weiss <luca@z3ntu.xyz>
-pkgname=kookbook
-pkgver=0.2.1
-pkgrel=1
-pkgdesc="Simple recipe manager taking structured markdown for recipes"
-url="https://github.com/KDE/kookbook/blob/master/doc/intro.md"
-arch="all !armhf"
-license="MIT"
-depends="$pkgname-common"
-makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev discount-dev"
-subpackages="$pkgname-common $pkgname-touch:ktouch"
-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 \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS} .
- make
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-}
-
-common() {
- pkgdesc="Common files for kookbook and kookbook-touch"
- mkdir -p "$subpkgdir"/usr/share
- mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share/
- mv "$pkgdir"/usr/share/kookbook "$subpkgdir"/usr/share/
-}
-
-ktouch() {
- depends="$pkgname-common"
- pkgdesc="Touch friendly recipe manager taking structured markdown for recipes"
- mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/share/applications
- mv "$pkgdir"/usr/bin/kookbooktouch "$subpkgdir"/usr/bin/
- mv "$pkgdir"/usr/share/applications/kookbooktouch.desktop "$subpkgdir"/usr/share/applications/
-}
-
-sha512sums="806ee828584771b4e8fe42aeb1cae7068e887a73cd119bfde23ea9a2583b7fbbb000c4cd13e80f201c1fa8f32fc58195a13e75c1ffd5b7c943183cc6483b1c08 kookbook-0.2.1.tar.xz"