xfce4-screenshooter: Cleanup the Pkgfile
Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
parent
5ea0f8baf6
commit
fd6edf046f
@ -10,21 +10,31 @@ version=1.8.2
|
||||
release=1
|
||||
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
build ()
|
||||
{
|
||||
# go into the source directory
|
||||
cd $SRC/$name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--libexecdir=/usr/lib \
|
||||
--disable-nls \
|
||||
--disable-static \
|
||||
--disable-debug
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
# configure xfce4-screenshooter
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--libexecdir=/usr/lib \
|
||||
--disable-nls \
|
||||
--disable-static \
|
||||
--disable-debug \
|
||||
--disable-dependency-tracking
|
||||
|
||||
rm -rf $PKG/usr/share/locale
|
||||
rm -rf $PKG/usr/share/xfce4/doc/{??,??_??,???}
|
||||
find $PKG/usr/share -type f -name '*.desktop' \
|
||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||
|
||||
# make xfce4-screenshooter
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
|
||||
# cleanup
|
||||
rm -rf $PKG/usr/share/locale
|
||||
rm -rf $PKG/usr/share/xfce4/doc/{??,??_??,???}
|
||||
find $PKG/usr/share -type f -name '*.desktop' \
|
||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user