diff --git a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild index c829800ee6..97b0bdc2ba 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 diff --git a/desktop/moka-icon-theme/moka-icon-theme.info b/desktop/moka-icon-theme/moka-icon-theme.info index 40651310cb..365e2cd921 100644 --- a/desktop/moka-icon-theme/moka-icon-theme.info +++ b/desktop/moka-icon-theme/moka-icon-theme.info @@ -1,8 +1,8 @@ PRGNAM="moka-icon-theme" -VERSION="5.3.6" +VERSION="20171021" HOMEPAGE="https://github.com/moka-project/moka-icon-theme/" -DOWNLOAD="https://github.com/moka-project/moka-icon-theme/archive/v5.3.6/moka-icon-theme-5.3.6.tar.gz" -MD5SUM="819b8bf752bbe573ad51e77e3cfe6a85" +DOWNLOAD="https://github.com/snwh/moka-icon-theme/archive/d63bd966332fb6de5034d8bbc00ba0e14825ed07/moka-icon-theme-d63bd966332fb6de5034d8bbc00ba0e14825ed07.tar.gz" +MD5SUM="67e6181bf1d23eff15532f36551a27d3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="faba-icon-theme"