koffice: Pkgfile fix--stop trying to find locales that don't exist

This commit is contained in:
Nick Steeves 2006-03-30 19:57:25 +00:00
parent f6879e9359
commit 40e5cd9392

View File

@ -6,7 +6,7 @@
name=koffice
version=1.4.2
release=3
release=4
source=(http://download.kde.org/stable/$name-$version/src/$name-$version.tar.bz2 \
ftp://ftp.kde.org/pub/kde/security_patches/post-1.3-koffice-CAN-2005-3193.diff)
@ -17,6 +17,5 @@ build(){
--enable-final
make
make DESTDIR=$PKG install
find $PKG/usr/share/{doc/HTML,locale}/* ! -wholename "*HTML/en*" \
! -wholename "*locale/en*" -delete
find $PKG/usr/share/doc/HTML/* ! -wholename "*HTML/en*" -delete
}