Fix broken install

This commit is contained in:
Manuel Hüsers 2015-10-21 21:59:25 +02:00
parent d30373b654
commit 64acc5cc26
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = mint-artwork-common pkgbase = mint-artwork-common
pkgdesc = Common artwork used in Linux Mint. pkgdesc = Common artwork used in Linux Mint.
pkgver = 1.8.7 pkgver = 1.8.7
pkgrel = 1 pkgrel = 2
url = http://linuxmint.com url = http://linuxmint.com
arch = any arch = any
license = GPL license = GPL

View file

@ -4,7 +4,7 @@
pkgbase=mint-artwork-common pkgbase=mint-artwork-common
pkgname=mint-sounds pkgname=mint-sounds
pkgver=1.8.7 pkgver=1.8.7
pkgrel=1 pkgrel=2
pkgdesc='Common artwork used in Linux Mint.' pkgdesc='Common artwork used in Linux Mint.'
arch=('any') arch=('any')
license=('GPL') license=('GPL')
@ -19,7 +19,7 @@ package_mint-sounds() {
install="${pkgname}.install" install="${pkgname}.install"
cd "${srcdir}/${pkgbase}-${pkgver}" cd "${srcdir}/${pkgbase}-${pkgver}"
install -d "${pkgdir}/usr/share/sounds/LinuxMint" install -d "${pkgdir}/usr/share/sounds"
find "./usr/share/sounds/LinuxMint" -type f -exec install -Dm644 {} "${pkgdir}/usr/share/sounds/LinuxMint/" \; cp -dr --no-preserve=ownership "./usr/share/sounds/LinuxMint" "${pkgdir}/usr/share/sounds/"
install -Dm644 "../${pkgname}.gschema.override" "${pkgdir}/usr/share/glib-2.0/schemas/${pkgname}.gschema.override" install -Dm644 "../${pkgname}.gschema.override" "${pkgdir}/usr/share/glib-2.0/schemas/${pkgname}.gschema.override"
} }