summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortonyfettes2020-05-06 19:12:02 +0800
committertonyfettes2020-05-06 19:12:02 +0800
commit8ea33a6765dc7381ea8293940749f58e9146bf49 (patch)
treedd093eed2fbef04d788046dc91529eb3b5bc3ccb
downloadaur-8ea33a6765dc7381ea8293940749f58e9146bf49.tar.gz
Initial commit.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD53
-rw-r--r--moe-kde-git.install13
3 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0eb07fcd809
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = moe-kde-git
+ pkgdesc = A Light theme, with blur transparencies and red tones with gradients for KDE
+ pkgver = r27.ad4b763
+ pkgrel = 1
+ url = https://www.opencode.net/jomada/moe-theme
+ install = moe-kde-git.install
+ arch = any
+ license = GPL3
+ makedepends = git
+ optdepends = plasma-desktop: for a plasma desktop theme
+ optdepends = kvantum-qt5: for a Kvantum theme
+ optdepends = mcmojave-circle-icon-theme-git: for icon theme
+ optdepends = sierrabreeze-kwin-decoration-git: for KWin decoration
+ optdepends = jomada-sierrabreeze-kwin-decoration-git: for default KWin decoration
+ optdepends = latte-dock: for a Latte dock layout
+ source = git+https://www.opencode.net/jomada/moe-theme.git
+ sha256sums = SKIP
+
+pkgname = moe-kde-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..462cf37b044
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Tony Fettes <feihaoxiang2014@gmail.com>
+
+pkgname=moe-kde-git
+_gitname=moe-theme
+pkgver=r27.ad4b763
+pkgrel=1
+pkgdesc='A Light theme, with blur transparencies and red tones with gradients for KDE'
+arch=('any')
+url='https://www.opencode.net/jomada/moe-theme'
+license=('GPL3')
+optdepends=('plasma-desktop: for a plasma desktop theme'
+ 'kvantum-qt5: for a Kvantum theme'
+ 'mcmojave-circle-icon-theme-git: for icon theme'
+ 'sierrabreeze-kwin-decoration-git: for KWin decoration'
+ 'jomada-sierrabreeze-kwin-decoration-git: for default KWin decoration'
+ 'latte-dock: for a Latte dock layout')
+makedepends=('git')
+install=${pkgname}.install
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_gitname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${srcdir}/${_gitname}"
+
+ echo 'Installing color-schemes...'
+ install -dm755 "${pkgdir}/usr/share/color-schemes"
+ cp color-schemes/* "${pkgdir}/usr/share/color-schemes"
+ cp "Moe-Dark color-schemes"/* "${pkgdir}/usr/share/color-schemes"
+
+ echo 'Installing desktoptheme...'
+ install -dm755 "${pkgdir}/usr/share/plasma/desktoptheme"
+ cp -r Moe "${pkgdir}/usr/share/plasma/desktoptheme"
+ cp -r Moe-Dark "${pkgdir}/usr/share/plasma/desktoptheme"
+
+ echo 'Installing look and feel theme...'
+ install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel"
+ cp -r look-and-feel/* "${pkgdir}/usr/share/plasma/look-and-feel"
+
+ echo 'Installing Kvantum theme...'
+ install -dm755 "${pkgdir}/usr/share/Kvantum"
+ cp -r kvantum/* "${pkgdir}/usr/share/Kvantum"
+ cp -r "Moe-Dark kvantum"/* "${pkgdir}/usr/share/Kvantum"
+
+ echo 'Installing konsole theme...'
+ install -dm755 "${pkgdir}/usr/share/konsole"
+ cp konsole/* "${pkgdir}/usr/share/konsole"
+ cp "Moe-Dark konsole"/* "${pkgdir}/usr/share/konsole"
+}
diff --git a/moe-kde-git.install b/moe-kde-git.install
new file mode 100644
index 00000000000..639a2d6cf0c
--- /dev/null
+++ b/moe-kde-git.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo 'Attention:'
+ echo ' Latte Dock layout for Moe theme is NOT installed.'
+ echo ' Please manually download it from'
+ echo ' https://www.opencode.net/jomada/moe-theme/raw/master/Latte%20Layout/Moe.layout.latte'
+ echo ' and import it by right-clicking your latte-dock and navigate to Layouts -> Manage Layouts...'
+}
+
+post_remove() {
+ echo 'Attention:'
+ echo ' Manually imported Moe Latte Dock layout is NOT deleted.'
+ echo ' Please delete it by right-clicking your latte-dock and navigate to Layouts -> Manage Layouts...'
+}