diff options
-rw-r--r-- | desktop/paper-icon-theme/paper-icon-theme.SlackBuild | 25 | ||||
-rw-r--r-- | desktop/paper-icon-theme/paper-icon-theme.info | 6 |
2 files changed, 23 insertions, 8 deletions
diff --git a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild index ddaca03e2e..6b15439284 100644 --- a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild +++ b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="paper-icon-theme" -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-20170917} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,13 +34,16 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} CWD=$(pwd) +SRCVER=${SRCVER:-c153195cb8e11b4d0130a216cd7c18b6d7d415da} + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -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 . find -L . \ @@ -49,11 +52,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/usr/share/icons -mv Paper Paper-Mono-Dark $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 LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING 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/paper-icon-theme/paper-icon-theme.info b/desktop/paper-icon-theme/paper-icon-theme.info index f75f7caf22..be6ef377ad 100644 --- a/desktop/paper-icon-theme/paper-icon-theme.info +++ b/desktop/paper-icon-theme/paper-icon-theme.info @@ -1,8 +1,8 @@ PRGNAM="paper-icon-theme" -VERSION="1.4.0" +VERSION="20170917" HOMEPAGE="https://github.com/snwh/paper-icon-theme" -DOWNLOAD="https://github.com/snwh/paper-icon-theme/archive/v1.4.0/paper-icon-theme-1.4.0.tar.gz" -MD5SUM="076e1dfa1bc5928f4c6616ffd933926a" +DOWNLOAD="https://github.com/snwh/paper-icon-theme/archive/c153195cb8e11b4d0130a216cd7c18b6d7d415da/paper-icon-theme-c153195cb8e11b4d0130a216cd7c18b6d7d415da.tar.gz" +MD5SUM="a3b2e748834326af2780d94a5a2b03a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |