diff options
author | Manuel Hüsers | 2015-08-13 22:28:01 +0200 |
---|---|---|
committer | Manuel Hüsers | 2015-08-13 22:28:01 +0200 |
commit | bd88b45d589bab7fc247e9e1a67ce2daded0c72d (patch) | |
tree | 4aa18517cf9c12b25c30bf8b5ed0d3666d4544c7 | |
download | aur-bd88b45d589bab7fc247e9e1a67ce2daded0c72d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | mint-sounds.gschema.override | 5 | ||||
-rw-r--r-- | mint-sounds.install | 30 |
4 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..43c946dc2220 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b19fd572baa --- /dev/null +++ b/PKGBUILD @@ -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" +} diff --git a/mint-sounds.gschema.override b/mint-sounds.gschema.override new file mode 100644 index 000000000000..403bf430951f --- /dev/null +++ b/mint-sounds.gschema.override @@ -0,0 +1,5 @@ +[org.cinnamon.desktop.sound] +theme-name="LinuxMint" +event-sounds=false +input-feedback-sounds=false + diff --git a/mint-sounds.install b/mint-sounds.install new file mode 100644 index 000000000000..a8647e07ff2a --- /dev/null +++ b/mint-sounds.install @@ -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 +} |