From 0f5f2fa1cf90ea832a0c6b7fb3aa61b798455b10 Mon Sep 17 00:00:00 2001 From: Leo Unglaub Date: Wed, 4 Mar 2015 00:15:19 +0000 Subject: [PATCH] xfwm4-themes: Cleanup the Pkgfile Signed-off-by: Leo Unglaub --- xfwm4-themes/Pkgfile | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/xfwm4-themes/Pkgfile b/xfwm4-themes/Pkgfile index 3a6b466..42f6912 100644 --- a/xfwm4-themes/Pkgfile +++ b/xfwm4-themes/Pkgfile @@ -10,9 +10,21 @@ version=4.10.0 release=1 source=(http://archive.xfce.org/src/art/$name/${version%.*}/$name-$version.tar.bz2) -build () { - cd $name-$version - ./configure --prefix=/usr - make DESTDIR=$PKG install - find $PKG/usr/share/themes -name README -delete +build () +{ + # go into the source directory + cd $SRC/$name-$version + + + # configure the themes + ./configure \ + --prefix=/usr + + + # make all themes + make DESTDIR=$PKG install + + + # OMG, there are sooo much README files in there .. lets hunt and kill them :) + find $PKG/usr/share/themes -name README -delete }