diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-11-17 22:48:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-17 22:48:04 +0700 |
commit | bff3cf1f898516609570b70ddfe80bd85710f3c6 (patch) | |
tree | 53718b2c7e21d7eed752f71f85bf7719f65f2a71 /desktop/moka-icon-theme/moka-icon-theme.SlackBuild | |
parent | 7aa888910e36f27016f5fa344289e8e602089b6a (diff) |
desktop/moka-icon-theme: Updated for version 20171021.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/moka-icon-theme/moka-icon-theme.SlackBuild')
-rw-r--r-- | desktop/moka-icon-theme/moka-icon-theme.SlackBuild | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild index c829800ee6cea..97b0bdc2badc4 100644 --- a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild +++ b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="moka-icon-theme" -VERSION=${VERSION:-5.3.6} +VERSION=${VERSION:-20171021} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,23 +34,36 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} CWD=$(pwd) -set -e +SRCVER=${SRCVER:-d63bd966332fb6de5034d8bbc00ba0e14825ed07} -SRCVER=${SRCVER:-v5.3.6} +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +mv $PRGNAM-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . -mkdir -p $PKG/usr/share/icons -cp -a Moka $PKG/usr/share/icons +CFLAGS="$SLKCFLAGS" +CXXFLAGS="$SLKCFLAGS" +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-silent-rules \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING INSTALL LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |