xfce4-terminal: Cleanup the Pkgfile

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-04 03:06:58 +00:00
parent edb149aba6
commit 0693ddf409
2 changed files with 23 additions and 16 deletions

View File

@ -7,9 +7,6 @@ drwxr-xr-x root/root usr/man/man1/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/xfce4-terminal.desktop
drwxr-xr-x root/root usr/share/gnome-control-center/
drwxr-xr-x root/root usr/share/gnome-control-center/default-apps/
-rw-r--r-- root/root usr/share/gnome-control-center/default-apps/xfce4-terminal-default-apps.xml
drwxr-xr-x root/root usr/share/xfce4/
drwxr-xr-x root/root usr/share/xfce4/terminal/
drwxr-xr-x root/root usr/share/xfce4/terminal/colorschemes/

View File

@ -10,20 +10,30 @@ version=0.6.3
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 the xfce4-terminal
./configure \
--prefix=/usr \
--mandir=/usr/man \
--libexecdir=/usr/bin \
--docdir=/usr/share/Terminal/doc \
--disable-static \
--disable-debug
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
# make xfce4-terminal
make
make DESTDIR=$PKG install
# lets cleanup
rm -rf $PKG/usr/share/locale
rm -rf $PKG/usr/share/Terminal/doc/{??,??_??}
rm -rf $PKG/usr/share/gnome-control-center
rm -rf $PKG/usr/man/{??,??_??}
}