-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V6 KDE Integration & Gnome 30mn transitions
- Loading branch information
Christophe LAVIE
committed
Aug 10, 2019
1 parent
5a87d67
commit d195d9d
Showing
7 changed files
with
234 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,44 @@ | ||
# Maintainer: Christophe LAVIE <[email protected]> | ||
pkgname='gnome-mojave-timed-wallpaper-rs' | ||
_gitname='gnome-mojave-timed-wallpaper' | ||
pkgver=1 | ||
|
||
pkgbase='dynamic-wallpaper-mojave' | ||
pkgname=("${pkgbase}-timed-gnome-git" "${pkgbase}-kde-git" "${pkgbase}-images-git" ) | ||
_gitname='gnome-kde-dynamic-wallpaper-mojave' | ||
pkgver=6 | ||
pkgrel=1 | ||
arch=('any') | ||
url="https://github.com/japamax/${_gitname}" | ||
pkgdesc="GNOME time based Mojave wallpaper real scheludes" | ||
depends=(gnome-shell gnome-backgrounds) | ||
conflicts=('gnome-mojave-timed-wallpaper' 'gnome-theme-macos-mojave-meta') | ||
source=("git+https://github.com/japamax/${_gitname}") | ||
conflicts=('gnome-mojave-timed-wallpaper' 'gnome-theme-macos-mojave-meta') | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $_gitname | ||
git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${_gitname}" | ||
install -dm755 "${pkgdir}/usr/share/backgrounds/gnome/mojave" | ||
install -m644 ${srcdir}/${_gitname}/mojave/* "${pkgdir}/usr/share/backgrounds/gnome/mojave" | ||
install -Dm644 mojave-timed.xml "${pkgdir}/usr/share/backgrounds/gnome/mojave-timed.xml" | ||
install -Dm644 mojave.xml "${pkgdir}/usr/share/gnome-background-properties/mojave.xml" | ||
package_dynamic-wallpaper-mojave-images-git() { | ||
pkgdesc="macOS Mojave dynamic wallpaper based 16 images" | ||
cd "${srcdir}/${_gitname}" | ||
install -dm755 "${pkgdir}/usr/share/dynamicwallpapers/mojave/images" | ||
install -m644 ${srcdir}/${_gitname}/mojave/* "${pkgdir}/usr/share/dynamicwallpapers/mojave/images" | ||
} | ||
|
||
package_dynamic-wallpaper-mojave-timed-gnome-git() { | ||
depends=(gnome-shell gnome-backgrounds dynamic-wallpaper-mojave-images-git) | ||
pkgdesc="Time based GNOME macOS Mojave wallpaper with real scheludes" | ||
install=dynamic-wallpaper-mojave-timed-gnome-git.install | ||
cd "${srcdir}/${_gitname}" | ||
install -dm755 "${pkgdir}/usr/share/backgrounds/gnome" | ||
ln -s "/usr/share/dynamicwallpapers/mojave/images" "${pkgdir}/usr/share/backgrounds/gnome/mojave" | ||
install -Dm644 mojave-timed.xml "${pkgdir}/usr/share/backgrounds/gnome/mojave-timed.xml" | ||
install -Dm644 mojave.xml "${pkgdir}/usr/share/gnome-background-properties/mojave.xml" | ||
} | ||
|
||
package_dynamic-wallpaper-mojave-kde-git() { | ||
depends=(plasma5-wallpapers-dynamic dynamic-wallpaper-mojave-images-git) | ||
pkgdesc="Azimuth Elevation based KDE macOS Mojave wallpaper" | ||
install=dynamic-wallpaper-mojave-kde-git.install | ||
cd "${srcdir}/${_gitname}" | ||
install -Dm644 mojave.json "${pkgdir}/usr/share/dynamicwallpapers/mojave/metadata.json" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
post_install() { | ||
cat << EOT | ||
|
||
================================================================================== | ||
|
||
Select "Dynamic" wallpaper type, put your real coordinates and your timer. | ||
|
||
================================================================================== | ||
|
||
EOT | ||
} | ||
|
||
|
||
post_upgrade() { | ||
post_install | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
post_install() { | ||
cat << EOT | ||
|
||
================================================================================== | ||
|
||
you must sync your system clock time (presented both in local time and UTC) as well as the RTC (hardware clock). | ||
Consult https://wiki.archlinux.org/index.php/System_time & https://wiki.archlinux.org/index.php/OpenNTPD | ||
|
||
================================================================================== | ||
|
||
EOT | ||
} | ||
|
||
|
||
post_upgrade() { | ||
post_install | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.