summaryrefslogtreecommitdiff
path: root/multimedia/aegisub/aegisub.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-18 22:51:24 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:52:09 +0700
commitdd97f472db0ae87cde8b88de27774f6b01efd9da (patch)
tree9aa96f96bab448bdd08f583389e82afecfa51928 /multimedia/aegisub/aegisub.SlackBuild
parent7163004753d1991de95571eaa4cdf9af7fa5dc46 (diff)
downloadslackbuilds-dd97f472db0ae87cde8b88de27774f6b01efd9da.tar.gz
multimedia/aegisub: Updated for version 3.1.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/aegisub/aegisub.SlackBuild')
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild
index 15581d8c9d..0d3b186bd8 100644
--- a/multimedia/aegisub/aegisub.SlackBuild
+++ b/multimedia/aegisub/aegisub.SlackBuild
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=aegisub
-VERSION=${VERSION:-3.1.2}
+VERSION=${VERSION:-3.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,8 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION/$PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+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 {} \;
LDFLAGS="$LDFLAGS -lz" \
CFLAGS="$SLKCFLAGS" \
@@ -80,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ../README.md INSTALL LICENCE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md INSTALL LICENCE $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc