mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
kfilebox: fix icon issue
This commit is contained in:
parent
def90ee4ca
commit
1b2d35126f
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
pkgname=kfilebox
|
pkgname=kfilebox
|
||||||
pkgver=0.4.10.r8.g5294287
|
pkgver=0.4.10.r8.g5294287
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="KDE4 Dropbox client (with own daemon)"
|
pkgdesc="KDE4 Dropbox client (with own daemon)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://kdropbox.deuteros.es"
|
url="http://kdropbox.deuteros.es"
|
||||||
@ -35,8 +35,12 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/build"
|
cd "${srcdir}/${pkgname}/build"
|
||||||
make DESTDIR=${pkgdir} install
|
make DESTDIR=${pkgdir} install
|
||||||
|
|
||||||
# Move wrong locale name
|
# Move wrong locale name
|
||||||
mv -v ${pkgdir}/usr/share/locale/tw/ ${pkgdir}/usr/share/locale/zh_TW/
|
mv -v ${pkgdir}/usr/share/locale/tw/ ${pkgdir}/usr/share/locale/zh_TW/
|
||||||
mv -v ${pkgdir}/usr/share/locale/zh ${pkgdir}/usr/share/locale/zh_CN/
|
mv -v ${pkgdir}/usr/share/locale/zh ${pkgdir}/usr/share/locale/zh_CN/
|
||||||
}
|
|
||||||
|
|
||||||
|
# Desktop file is wrong
|
||||||
|
sed "s|Icon=/usr/share/kfilebox/kfilebox.png|Icon=kfilebox|g" -i \
|
||||||
|
${pkgdir}/usr/share/applications/kfilebox.desktop
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user