diff options
author | perigoso | 2021-03-29 01:39:59 +0100 |
---|---|---|
committer | perigoso | 2021-03-29 01:39:59 +0100 |
commit | 822605e60cd64f34731e88e19461c1b469225a9f (patch) | |
tree | f0651a6b21b0f3b342cffff647dfbfd3907731f5 | |
download | aur-822605e60cd64f34731e88e19461c1b469225a9f.tar.gz |
Initial commit
Signed-off-by: perigoso <silvagracarafael@gmail.com>
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..52e4aa7926c0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = moe-theme-git + pkgdesc = Moe is a light theme, with blur transparencies and red tones with gradients. + pkgver = r16.28d4315 + pkgrel = 1 + url = https://gitlab.com/jomada/moe-theme + arch = any + license = GPL3 + makedepends = git + options = !strip + source = moe-theme::git+https://gitlab.com/jomada/moe-theme + sha256sums = SKIP + +pkgname = plasma-theme-moe-git + optdepends = kvantum-theme-moe: Moe theme for Kvantum (recommended) + +pkgname = kvantum-theme-moe-git + depends = kvantum-qt5 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0277eb1c116a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Rafael Silva <silvagracarafael@gmail.com> + +_pkgbase=moe-theme +pkgbase="${_pkgbase}-git" +pkgname=(plasma-theme-moe-git kvantum-theme-moe-git) +pkgver=r16.28d4315 +pkgrel=1 +pkgdesc="Moe is a light theme, with blur transparencies and red tones with gradients." +arch=(any) +url="https://gitlab.com/jomada/${_pkgbase}" +license=(GPL3) +makedepends=(git) +options=(!strip) +source=("${_pkgbase}::git+https://gitlab.com/jomada/${_pkgbase}") +sha256sums=('SKIP') + +pkgver() { + cd "${_pkgbase}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package_plasma-theme-moe-git() { + optdepends=('kvantum-theme-moe: Moe theme for Kvantum (recommended)') + + cd "${srcdir}/${_pkgbase}" + + install -d "${pkgdir}"/usr/share/plasma/desktoptheme "${pkgdir}"/usr/share/plasma/look-and-feel "${pkgdir}"/usr/share/aurorae/themes "${pkgdir}"/usr/share/color-schemes "${pkgdir}"/usr/share/konsole + + cp -dr --no-preserve=ownership Moe{,-Dark} "${pkgdir}"/usr/share/plasma/desktoptheme/ + cp -dr --no-preserve=ownership look-and-feel/Moe "${pkgdir}"/usr/share/plasma/look-and-feel/ + cp -dr --no-preserve=ownership {,MoeDark-}aurorae/* "${pkgdir}"/usr/share/aurorae/themes + cp -dr --no-preserve=ownership {,Moe-Dark-}color-schemes/* "${pkgdir}"/usr/share/color-schemes + cp -dr --no-preserve=ownership {,Moe-Dark-}konsole/* "${pkgdir}"/usr/share/konsole +} + +package_kvantum-theme-moe-git() { + depends=(kvantum-qt5) + + cd "${srcdir}/${_pkgbase}" + + install -d "${pkgdir}"/usr/share/kvantum + + cp -dr --no-preserve=ownership {,Moe-Dark-}kvantum/* "${pkgdir}"/usr/share/kvantum +}
\ No newline at end of file |