summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-19 03:51:24 (GMT)
committer Erik Hanson <erik@slackbuilds.org>2014-04-19 03:51:24 (GMT)
commit5d40bfc74a83846e1f2f8ce8a8025a3fba4d2286 (patch)
treec7141183e7a279813411935095d8be9f0002e026
parent98f6351f73724583a663da957300d5ba10373bfc (diff)
downloadslackbuilds-erik.tar.gz
multimedia/aegisub: Updated for version 3.1.3.erik
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild14
-rw-r--r--multimedia/aegisub/aegisub.info6
2 files changed, 13 insertions, 7 deletions
diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild
index 15581d8..0d3b186 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
diff --git a/multimedia/aegisub/aegisub.info b/multimedia/aegisub/aegisub.info
index f58532c..d3f2998 100644
--- a/multimedia/aegisub/aegisub.info
+++ b/multimedia/aegisub/aegisub.info
@@ -1,8 +1,8 @@
PRGNAM="aegisub"
-VERSION="3.1.2"
+VERSION="3.1.3"
HOMEPAGE="http://www.aegisub.org/"
-DOWNLOAD="http://ftp.aegisub.org/pub/releases/aegisub-3.1.2.tar.xz"
-MD5SUM="d00c1ee88eb50e9311f4acbeb74149ed"
+DOWNLOAD="http://ftp.aegisub.org/pub/releases/aegisub-3.1.3.tar.xz"
+MD5SUM="2203c51be24d943b97cfe2e19a4902b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libass lua ffms2 wxGTK3"