summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--linhes/calamares-git/.SRCINFO30
-rw-r--r--linhes/calamares-git/.gitignore4
-rw-r--r--linhes/calamares-git/PKGBUILD60
3 files changed, 94 insertions, 0 deletions
diff --git a/linhes/calamares-git/.SRCINFO b/linhes/calamares-git/.SRCINFO
new file mode 100644
index 0000000..9648782
--- /dev/null
+++ b/linhes/calamares-git/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = calamares-git
+ pkgdesc = Distribution-independent installer framework (git version with Python support)
+ pkgver = 3.4.2.r4.g841b47857
+ pkgrel = 1
+ url = https://codeberg.org/Calamares/calamares
+ arch = x86_64
+ license = GPL-3.0-or-later
+ makedepends = git
+ makedepends = cmake
+ makedepends = extra-cmake-modules
+ makedepends = ninja
+ makedepends = qt6-tools
+ makedepends = qt6-translations
+ makedepends = libglvnd
+ makedepends = pybind11
+ depends = kcoreaddons
+ depends = kpmcore
+ depends = libpwquality
+ depends = qt6-declarative
+ depends = qt6-svg
+ depends = yaml-cpp
+ depends = python
+ depends = python-yaml
+ depends = python-jsonschema
+ provides = calamares
+ conflicts = calamares
+ source = git+https://codeberg.org/Calamares/calamares.git
+ sha256sums = SKIP
+
+pkgname = calamares-git
diff --git a/linhes/calamares-git/.gitignore b/linhes/calamares-git/.gitignore
new file mode 100644
index 0000000..018a3de
--- /dev/null
+++ b/linhes/calamares-git/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/linhes/calamares-git/PKGBUILD b/linhes/calamares-git/PKGBUILD
new file mode 100644
index 0000000..1703be8
--- /dev/null
+++ b/linhes/calamares-git/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Rustmilian Rustmilian@proton.me
+
+pkgname=calamares-git
+_pkgname=calamares
+
+pkgver=3.4.2.r4.g841b47857
+pkgrel=1
+pkgdesc="Distribution-independent installer framework (git version with Python support)"
+url="https://codeberg.org/Calamares/calamares"
+license=("GPL-3.0-or-later")
+arch=('x86_64')
+
+provides=("calamares")
+conflicts=("calamares")
+
+depends=(
+ kcoreaddons
+ kpmcore
+ libpwquality
+ qt6-declarative
+ qt6-svg
+ yaml-cpp
+ python
+ python-yaml
+ python-jsonschema
+)
+
+makedepends=(
+ git
+ cmake
+ extra-cmake-modules
+ ninja
+ qt6-tools
+ qt6-translations
+ libglvnd
+ pybind11
+)
+
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --long --tags --always | sed 's/^v//;s/-/.r/;s/-/./g'
+}
+
+build() {
+ cmake -S "$srcdir/$_pkgname" -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_QT6=ON \
+ -DWITH_PYTHONQT=ON \
+ -DBUILD_TESTING=OFF \
+ -Wno-dev
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}