imagemagick: correctly remove junk
This commit is contained in:
parent
b887fd9e90
commit
20e0766650
@ -189,9 +189,6 @@ drwxr-xr-x root/root usr/man/man3/
|
||||
-r--r--r-- root/root usr/man/man3/Image::Magick.3pm.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/ImageMagick-6.2.6/
|
||||
-rw-r--r-- root/root usr/share/ImageMagick-6.2.6/ChangeLog
|
||||
-rw-r--r-- root/root usr/share/ImageMagick-6.2.6/LICENSE
|
||||
-rw-r--r-- root/root usr/share/ImageMagick-6.2.6/NEWS
|
||||
drwxr-xr-x root/root usr/share/ImageMagick-6.2.6/config/
|
||||
-rw-r--r-- root/root usr/share/ImageMagick-6.2.6/config/coder.xml
|
||||
-rw-r--r-- root/root usr/share/ImageMagick-6.2.6/config/log.xml
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
name=imagemagick
|
||||
version=6.2.6-7
|
||||
release=1
|
||||
release=2
|
||||
source=(http://dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-$version.tar.bz2)
|
||||
|
||||
build () {
|
||||
@ -16,7 +16,7 @@ build () {
|
||||
mkdir -p $PKG/usr/
|
||||
make DESTDIR=$PKG PREFIX=$PKG/usr install
|
||||
rm -rf $PKG/usr/lib/{perl5/?.?.?,ImageMagick/modules,libltdl.*}
|
||||
rm -rf $PKG/usr/share/ImageMagick-$version/{ChangeLog,LICENSE,NEWS}
|
||||
rm -rf $PKG/usr/share/ImageMagick-${version/-*}/{ChangeLog,LICENSE,NEWS}
|
||||
rm -rf $PKG/usr/share/doc
|
||||
find $PKG -name perllocal.pod -o -name .packlist -exec rm {} \;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user