Initial commit
This commit is contained in:
commit
bd88b45d58
4 changed files with 72 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = mint-artwork-common
|
||||
pkgdesc = Common artwork used in Linux Mint.
|
||||
pkgver = 1.8.7
|
||||
pkgrel = 1
|
||||
url = http://linuxmint.com
|
||||
arch = any
|
||||
license = GPL
|
||||
source = http://packages.linuxmint.com/pool/main/m/mint-artwork-common/mint-artwork-common_1.8.7.tar.gz
|
||||
sha256sums = 8799797e533abae36602254568a0496a5bdf04346455ad642826a8631af23143
|
||||
|
||||
pkgname = mint-sounds
|
||||
pkgdesc = Linux Mint system sounds from mint-artwork-common package.
|
||||
install = mint-sounds.install
|
||||
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
|
||||
# Contributor: Manuel Hüsers <manuel.huesers@uni-ol.de>
|
||||
|
||||
pkgbase=mint-artwork-common
|
||||
pkgname=mint-sounds
|
||||
pkgver=1.8.7
|
||||
pkgrel=1
|
||||
pkgdesc='Common artwork used in Linux Mint.'
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
url="http://linuxmint.com"
|
||||
source=("http://packages.linuxmint.com/pool/main/m/${pkgbase}/${pkgbase}_${pkgver}.tar.gz")
|
||||
sha256sums=('8799797e533abae36602254568a0496a5bdf04346455ad642826a8631af23143')
|
||||
|
||||
package_mint-sounds() {
|
||||
pkgdesc="Linux Mint system sounds from ${pkgbase} package."
|
||||
install="${pkgname}.install"
|
||||
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
install -d "${pkgdir}/usr/share/sounds/LinuxMint"
|
||||
find "./usr/share/sounds/LinuxMint" -type f -exec install -Dm644 {} "${pkgdir}/usr/share/sounds/LinuxMint/" \;
|
||||
install -Dm644 "${startdir}/${pkgname}.gschema.override" "${pkgdir}/usr/share/glib-2.0/schemas/${pkgname}.gschema.override"
|
||||
}
|
5
mint-sounds.gschema.override
Normal file
5
mint-sounds.gschema.override
Normal file
|
@ -0,0 +1,5 @@
|
|||
[org.cinnamon.desktop.sound]
|
||||
theme-name="LinuxMint"
|
||||
event-sounds=false
|
||||
input-feedback-sounds=false
|
||||
|
30
mint-sounds.install
Normal file
30
mint-sounds.install
Normal file
|
@ -0,0 +1,30 @@
|
|||
# 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
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
_update
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
_update
|
||||
}
|
Loading…
Reference in a new issue