diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-05 19:09:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | c58bc4ec30c7aab3553a14eef50cd18e59f753d3 (patch) | |
tree | f661ee1d593080383afe5dd7352ae942cf206b65 | |
parent | 4a4a335e99ec1d03c5a84d0961440b877ff2a83a (diff) | |
download | slackbuilds-c58bc4ec30c7aab3553a14eef50cd18e59f753d3.tar.gz |
misc/boxes: Updated for version 1.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | misc/boxes/boxes.SlackBuild | 17 | ||||
-rw-r--r-- | misc/boxes/boxes.info | 6 |
2 files changed, 12 insertions, 11 deletions
diff --git a/misc/boxes/boxes.SlackBuild b/misc/boxes/boxes.SlackBuild index 2393c71c6e..73fb6a26b1 100644 --- a/misc/boxes/boxes.SlackBuild +++ b/misc/boxes/boxes.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=boxes -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,16 +60,17 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i 's,\(GLOBALCONF = /usr/share/boxes\),\1/boxes-config,' Makefile +sed -i "s|/usr/share/boxes|/etc/boxes-config|" Makefile +sed -i "s|-ansi||" src/Makefile make CFLAGS_ADDTL="$SLKCFLAGS" mkdir -p $PKG/usr/bin @@ -82,7 +83,7 @@ mkdir -p $PKG/usr/man/man1 gzip -9 < doc/boxes.1 > $PKG/usr/man/man1/boxes.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/boxes/boxes.info b/misc/boxes/boxes.info index 404d8357a4..ac14835fcf 100644 --- a/misc/boxes/boxes.info +++ b/misc/boxes/boxes.info @@ -1,8 +1,8 @@ PRGNAM="boxes" -VERSION="1.1.1" +VERSION="1.1.2" HOMEPAGE="http://boxes.thomasjensen.com/" -DOWNLOAD="http://boxes.thomasjensen.com/download/boxes-1.1.1.src.tar.gz" -MD5SUM="7616261c85a0cbadf95d6dd7466251dc" +DOWNLOAD="https://github.com/ascii-boxes/boxes/archive/v1.1.2.tar.gz" +MD5SUM="9742c8a988869ed0803891f112ebbf5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |