"Arming ConditionNeedsUpdate" error when Building Arch Linux Package
4
votes
1
answer
4602
views
I'm trying to build an Arch Linux package for some icon theme, so I used this PKGBUILD file :
pkgname=masalla
pkgver=1.1
pkgrel=1
pkgdesc="A flat design icon theme by Hayder Majid"
arch=('any')
url="https://github.com/masalla-art/masalla-icon-theme "
license=('GPL3')
makedepends=('git')
conflicts=('masalla-icon-theme-git' 'masalla-icon-theme' 'masalla')
source=("${url}/releases/download/${pkgver}/${pkgname}_${pkgver}.tar.xz")
md5sums=('8c11f0fd04abc6c7f9086f7275d939be')
package() {
cd $srcdir
install -d -m 755 ${pkgdir}/usr/share/icons
cp -r ${srcdir}/${pkgname}_${pkgver}/masalla ${pkgdir}/usr/share/icons
cp -r ${srcdir}/${pkgname}_${pkgver}/masalla-dark ${pkgdir}/usr/share/icons
}
and the compiling process is work fine, but when i installing it, i got this message :
(1/2) Updating icon theme caches...
gtk-update-icon-cache: The generated cache was invalid.
error: command failed to execute correctly
(2/2) Arming ConditionNeedsUpdate...
so,what i missed in my
PKGBUILD
file, and what should i change to fix this error
Asked by Hayder Ctee
(140 rep)
Jan 1, 2018, 11:08 PM
Last activity: Jan 11, 2018, 10:02 PM
Last activity: Jan 11, 2018, 10:02 PM