Skip to content

Commit

Permalink
add: orchis-kde (#6535)
Browse files Browse the repository at this point in the history
## Progress 

- [x] Edit packagelist
- [x] Add initial pacscript
- [ ] Contact devs
- [x] Add maintainer to pacscript

This package [exists](https://packages.ubuntu.com/oracular/orchis-kde)
in Ubuntu, but only for noble and oracular and is outdated. A theme repo
doesn't have tags or releases, although new commits appear very rarely,
so each new commit can be considered a new release. Ubuntu package uses
`YYYY-MM-DD` version format, so did I.
  • Loading branch information
bibelin authored Oct 15, 2024
1 parent ecbd31a commit 8a30858
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ openvr
opera-beta-deb
opera-deb
opera-developer-deb
orchis-kde
os-installer-git
osu-lazer-app
owofetch
Expand Down
12 changes: 12 additions & 0 deletions packages/orchis-kde/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pkgbase = orchis-kde
pkgver = 2024-10-12
pkgdesc = Orchis KDE is a Materia Design theme for KDE Plasma desktop
url = https://github.com/vinceliuice/Orchis-kde
optdepends = qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look
optdepends = orchis-gtk-theme: matching GTK theme
license = GPL-3.0-only
license = CC-BY-SA-4.0
maintainer = bibelin <[email protected]>
source = git+https://github.com/vinceliuice/Orchis-kde#commit=036e831f545de829a7eaa65f0128322663d406e4

pkgname = orchis-kde
47 changes: 47 additions & 0 deletions packages/orchis-kde/orchis-kde.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
pkgname="orchis-kde"
pkgdesc="Orchis KDE is a Materia Design theme for KDE Plasma desktop"
url="https://github.com/vinceliuice/Orchis-kde"
# CC-BY-SA is the license of SDDM theme, the rest is under GPL
license=("GPL-3.0-only" "CC-BY-SA-4.0")
pkgver="2024-10-12"
source=("git+${url}#commit=036e831f545de829a7eaa65f0128322663d406e4")
optdepends=(
"qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look"
"orchis-gtk-theme: matching GTK theme"
)
maintainer=("bibelin <[email protected]>")

package() {
# Adopted from https://github.com/vinceliuice/Orchis-kde/blob/main/install.sh
SRC_DIR="${PWD}/Orchis-kde"
name="Orchis"

AURORAE_DIR="${pkgdir}/usr/share/aurorae/themes"
SCHEMES_DIR="${pkgdir}/usr/share/color-schemes"
PLASMA_DIR="${pkgdir}/usr/share/plasma/desktoptheme"
LOOKFEEL_DIR="${pkgdir}/usr/share/plasma/look-and-feel"
KVANTUM_DIR="${pkgdir}/usr/share/Kvantum"
WALLPAPER_DIR="${pkgdir}/usr/share/wallpapers"
SDDM_DIR="${pkgdir}/usr/share/sddm/themes"

mkdir -p "${AURORAE_DIR}"
mkdir -p "${SCHEMES_DIR}"
mkdir -p "${PLASMA_DIR}"
mkdir -p "${LOOKFEEL_DIR}"
mkdir -p "${KVANTUM_DIR}"
mkdir -p "${WALLPAPER_DIR}"
mkdir -p "${SDDM_DIR}"

cp -r "${SRC_DIR}"/aurorae/* "${AURORAE_DIR}"
cp -r "${SRC_DIR}"/color-schemes/*.colors "${SCHEMES_DIR}"
cp -r "${SRC_DIR}"/Kvantum/* "${KVANTUM_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/"${name}" "${PLASMA_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/"${name}"-dark "${PLASMA_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/icons "${PLASMA_DIR}/${name}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/icons "${PLASMA_DIR}/${name}-dark"
cp -r "${SRC_DIR}"/color-schemes/"${name}".colors "${PLASMA_DIR}/${name}/colors"
cp -r "${SRC_DIR}"/color-schemes/"${name}"Dark.colors "${PLASMA_DIR}/${name}-dark/colors"
cp -r "${SRC_DIR}"/plasma/look-and-feel/* "${LOOKFEEL_DIR}"
cp -r "${SRC_DIR}"/wallpaper/* "${WALLPAPER_DIR}"
cp -r "${SRC_DIR}"/sddm/6.0/"${name}" "${SDDM_DIR}"
}
13 changes: 13 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -7502,6 +7502,19 @@ pkgbase = opera-developer-deb

pkgname = opera-developer-deb
---
pkgbase = orchis-kde
pkgver = 2024-10-12
pkgdesc = Orchis KDE is a Materia Design theme for KDE Plasma desktop
url = https://github.com/vinceliuice/Orchis-kde
optdepends = qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look
optdepends = orchis-gtk-theme: matching GTK theme
license = GPL-3.0-only
license = CC-BY-SA-4.0
maintainer = bibelin <[email protected]>
source = git+https://github.com/vinceliuice/Orchis-kde#commit=036e831f545de829a7eaa65f0128322663d406e4

pkgname = orchis-kde
---
pkgbase = os-installer-git
gives = os-installer
pkgver = 0.3
Expand Down

0 comments on commit 8a30858

Please sign in to comment.