xfce4-screenshooter: Cleanup the Pkgfile

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-06 02:06:25 +00:00
parent 5ea0f8baf6
commit fd6edf046f

View File

@ -10,19 +10,29 @@ 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 \
# configure xfce4-screenshooter
./configure \
--prefix=/usr \
--mandir=/usr/man \
--libexecdir=/usr/lib \
--disable-nls \
--disable-static \
--disable-debug
--disable-debug \
--disable-dependency-tracking
# 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' \