summaryrefslogtreecommitdiff
path: root/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild')
-rw-r--r--desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild22
1 files changed, 14 insertions, 8 deletions
diff --git a/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild
index 88178ada4e..ae83624d63 100644
--- a/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild
+++ b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="gtk-theme-Greybird"
-VERSION=${VERSION:-3.22.1}
+VERSION=${VERSION:-3.22.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,19 +42,25 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
-# remove Unity and git stuff.
-rm -rf $SRCNAM-$VERSION/{.gitignore,unity,ubiquity-panel-bg.png}
+./autogen.sh \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-mkdir -p $PKG/usr/share/themes
-cp -a $SRCNAM-$VERSION $PKG/usr/share/themes/Greybird
+make
+make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/themes/Greybird/{LICENSE.*,README.md} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {LICENSE.*,README.md} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install