summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-theme/PKGBUILD')
-rw-r--r--raveos-calamares-theme/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/raveos-calamares-theme/PKGBUILD b/raveos-calamares-theme/PKGBUILD
new file mode 100644
index 0000000..7bfb2b9
--- /dev/null
+++ b/raveos-calamares-theme/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: AlexC <alexc@alexc.hu>
+pkgname=raveos-calamares-theme
+pkgver=1.0.0
+pkgrel=85
+pkgdesc="RaveOS Calamares Theme"
+arch=('any')
+url="https://git.rp1.hu/RaveOS-beta"
+license=('GPL')
+#depends=('calamares')
+# No external sources; files are expected to be present alongside the PKGBUILD
+source=()
+sha256sums=()
+
+package() {
+ # Create the destination directory inside the package environment
+ install -d "${pkgdir}/etc"
+
+ # Copy the contents of the local 'etc' directory (next to PKGBUILD) to the package
+ # We use "${startdir}" to reference the directory containing the PKGBUILD
+ cp -r "${startdir}/etc/." "${pkgdir}/etc/"
+
+ install -Dm755 "${startdir}/etc/calamares/modules/calamares-microcode-fix.sh" \
+ "${pkgdir}/etc/calamares/modules/calamares-microcode-fix.sh"
+
+ install -Dm755 "${startdir}/etc/calamares/modules/calamares-gpu-drivers.sh" \
+ "${pkgdir}/etc/calamares/modules/calamares-gpu-drivers.sh"
+}