Initial commit

This commit is contained in:
Manuel Hüsers 2015-08-13 22:26:59 +02:00
commit d0fb9b7bef
4 changed files with 104 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = mint-artwork-cinnamon
pkgdesc = Default artwork for the Cinnamon edition of Linux Mint.
pkgver = 4.9
pkgrel = 1
url = http://linuxmint.com
arch = any
license = GPL
depends = cinnamon
source = http://packages.linuxmint.com/pool/main/m/mint-artwork-cinnamon/mint-artwork-cinnamon_4.9.tar.gz
sha256sums = 4523f3043977f352309043350bfafc33d07dd3ac9e794e75c481e3733ac7a28c
pkgname = cinnamon-sound-effects
pkgdesc = Sound effects from mint-artwork-cinnamon package for the Cinnamon desktop.
install = cinnamon-sound-effects.install
optdepends = mint-sounds: Linux Mint system sounds

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
# Contributor: Manuel Hüsers <manuel.huesers@uni-ol.de>
pkgbase=mint-artwork-cinnamon
pkgname=cinnamon-sound-effects
pkgver=4.9
pkgrel=1
pkgdesc='Default artwork for the Cinnamon edition of Linux Mint.'
arch=('any')
license=('GPL')
depends=('cinnamon')
url="http://linuxmint.com"
source=("http://packages.linuxmint.com/pool/main/m/${pkgbase}/${pkgbase}_${pkgver}.tar.gz")
sha256sums=('4523f3043977f352309043350bfafc33d07dd3ac9e794e75c481e3733ac7a28c')
package_cinnamon-sound-effects() {
pkgdesc="Sound effects from ${pkgbase} package for the Cinnamon desktop."
install="${pkgname}.install"
optdepends=('mint-sounds: Linux Mint system sounds')
cd "${srcdir}/${pkgbase}"
install -d "${pkgdir}/usr/share/${pkgbase}/sounds"
for file in ./usr/share/${pkgbase}/sounds/*; do
install -Dm644 "${file}" "${pkgdir}/usr/share/${pkgbase}/sounds/"
done
install -Dm644 "${startdir}/${pkgname}.gschema.override" "${pkgdir}/usr/share/glib-2.0/schemas/${pkgname}.gschema.override"
}

View file

@ -0,0 +1,28 @@
[org.cinnamon.sounds]
login-enabled=true
login-file="/usr/share/mint-artwork-cinnamon/sounds/login.oga"
logout-enabled=true
logout-file="/usr/share/mint-artwork-cinnamon/sounds/logout.ogg"
switch-enabled=true
switch-file="/usr/share/mint-artwork-cinnamon/sounds/switch.oga"
close-enabled=false
close-file="/usr/share/mint-artwork-cinnamon/sounds/close.oga"
map-enabled=false
map-file="/usr/share/mint-artwork-cinnamon/sounds/map.oga"
minimize-enabled=false
minimize-file="/usr/share/mint-artwork-cinnamon/sounds/minimize.oga"
maximize-enabled=false
maximize-file="/usr/share/mint-artwork-cinnamon/sounds/maximize.oga"
unmaximize-enabled=false
unmaximize-file="/usr/share/mint-artwork-cinnamon/sounds/unmaximize.oga"
tile-enabled=true
tile-file="/usr/share/mint-artwork-cinnamon/sounds/tile.oga"
plug-enabled=true
plug-file="/usr/share/mint-artwork-cinnamon/sounds/plug.oga"
unplug-enabled=true
unplug-file="/usr/share/mint-artwork-cinnamon/sounds/unplug.oga"
[org.cinnamon.desktop.sound]
volume-sound-enabled=true
volume-sound-file="/usr/share/mint-artwork-cinnamon/sounds/volume.oga"

View file

@ -0,0 +1,31 @@
# Colored makepkg-like functions
msg_blue() {
printf "${blue}==>${bold} $1${all_off}\n"
}
note() {
printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
_update() {
msg_blue 'Updating GSettings schemas...'
glib-compile-schemas '/usr/share/glib-2.0/schemas/'
}
post_install() {
_update
note 'If sounds do not work immediately consider restarting Cinnamon'
}
post_upgrade() {
_update
}
post_remove() {
_update
}