diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-04-05 18:02:24 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-12 10:07:00 +0700 |
commit | 0c612d6fc98e45e056990e0e2a9666847b7f81e5 (patch) | |
tree | 49fe32730e78bbcb190c9b5bbb86e02e85624f15 /office/mdp | |
parent | c36cdaf2c707a48fba5bb506087affaeb835a29e (diff) |
office/mdp: Updated for version 1.0.0.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'office/mdp')
-rw-r--r-- | office/mdp/mdp.SlackBuild | 14 | ||||
-rw-r--r-- | office/mdp/mdp.info | 6 |
2 files changed, 15 insertions, 5 deletions
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild index bbec3f602540..e018e103cd85 100644 --- a/office/mdp/mdp.SlackBuild +++ b/office/mdp/mdp.SlackBuild @@ -23,7 +23,7 @@ # <http://www.gnu.org/licenses/>. PRGNAM=mdp -VERSION=${VERSION:-0.93.0} +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,8 +60,18 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +if [ -e $CWD/$VERSION.tar.gz ]; then + tar xvf $CWD/$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi 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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make \ OPTS="$SLKCFLAGS" diff --git a/office/mdp/mdp.info b/office/mdp/mdp.info index f49fe65b8c40..c55908125693 100644 --- a/office/mdp/mdp.info +++ b/office/mdp/mdp.info @@ -1,8 +1,8 @@ PRGNAM="mdp" -VERSION="0.93.0" +VERSION="1.0.0" HOMEPAGE="https://github.com/visit1985/mdp" -DOWNLOAD="https://github.com/visit1985/mdp/archive/0.93.0.tar.gz" -MD5SUM="09aaa0fd6f811d475d8b5be00c98aa4a" +DOWNLOAD="https://github.com/visit1985/mdp/archive/1.0.0.tar.gz" +MD5SUM="f21175ca57fbdf71e6a641de9f78dc2c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |