From 0693ddf40992a7d37bdae47e2929b3dd45ddb9ca Mon Sep 17 00:00:00 2001 From: Leo Unglaub Date: Wed, 4 Mar 2015 03:06:58 +0000 Subject: [PATCH] xfce4-terminal: Cleanup the Pkgfile Signed-off-by: Leo Unglaub --- xfce4-terminal/.footprint | 3 --- xfce4-terminal/Pkgfile | 36 +++++++++++++++++++++++------------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/xfce4-terminal/.footprint b/xfce4-terminal/.footprint index 66ca3be..75151e2 100644 --- a/xfce4-terminal/.footprint +++ b/xfce4-terminal/.footprint @@ -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/ diff --git a/xfce4-terminal/Pkgfile b/xfce4-terminal/Pkgfile index 06b27f8..78e56b7 100644 --- a/xfce4-terminal/Pkgfile +++ b/xfce4-terminal/Pkgfile @@ -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 \ - --mandir=/usr/man \ - --libexecdir=/usr/bin \ - --docdir=/usr/share/Terminal/doc \ - --disable-static \ - --disable-debug - make - make DESTDIR=$PKG install + # configure the xfce4-terminal + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --libexecdir=/usr/bin \ + --disable-static \ + --disable-debug \ + --disable-nls \ + --disable-dependency-tracking \ - rm -rf $PKG/usr/share/locale - rm -rf $PKG/usr/share/Terminal/doc/{??,??_??} - rm -rf $PKG/usr/man/{??,??_??} + + # make xfce4-terminal + make + make DESTDIR=$PKG install + + + # lets cleanup + rm -rf $PKG/usr/share/locale + rm -rf $PKG/usr/share/gnome-control-center + rm -rf $PKG/usr/man/{??,??_??} }