mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/kontainer: new aport
This commit is contained in:
parent
d08a27243f
commit
9c9f92e3b5
2 changed files with 56 additions and 0 deletions
13
testing/kontainer/0001-kontainer-desktop-path.patch
Normal file
13
testing/kontainer/0001-kontainer-desktop-path.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/org.kde.Kontainer.desktop b/org.kde.Kontainer.desktop
|
||||
index 86b9604..f6a3757 100644
|
||||
--- a/org.kde.Kontainer.desktop
|
||||
+++ b/org.kde.Kontainer.desktop
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Kontainer
|
||||
Comment=Manage Distrobox containers with a Qt GUI
|
||||
-Exec=/app/bin/Kontainer
|
||||
+Exec=Kontainer
|
||||
Icon=preferences-virtualization-container
|
||||
Type=Application
|
||||
Categories=System;Utility;
|
43
testing/kontainer/APKBUILD
Normal file
43
testing/kontainer/APKBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
||||
pkgname=kontainer
|
||||
pkgver=1.0.1
|
||||
pkgrel=0
|
||||
pkgdesc="Qt-based Distrobox GUI"
|
||||
url="https://invent.kde.org/system/kontainer"
|
||||
# armhf blocked by ki18n
|
||||
# s390x blocked by distrobox
|
||||
arch="all !armhf !s390x"
|
||||
license="GPL-2.0-only"
|
||||
depends="distrobox"
|
||||
makedepends="
|
||||
extra-cmake-modules
|
||||
ki18n-dev
|
||||
qt6-qtbase
|
||||
samurai
|
||||
"
|
||||
source="https://invent.kde.org/system/kontainer/-/archive/v$pkgver/kontainer-v$pkgver.tar.gz
|
||||
0001-kontainer-desktop-path.patch
|
||||
"
|
||||
options="!check" # No tests
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
|
||||
build() {
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6a4676f68c4ed4a89d23935f61e75bb964255b5c3a3f7640719d9329660f192d1c370007fdca59b56d2c534f32ab53f1d8ec514e935cbb1d0d27a8c220a02798 kontainer-v1.0.1.tar.gz
|
||||
fda1dbf63337ea625cbb19c15203f809b3e55743e315c9cccdfa9291b57c0e2a955da1744af80b58d62953772cff18f16743115a6cc73af7b0bea97b7abfab51 0001-kontainer-desktop-path.patch
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue