summaryrefslogtreecommitdiff
path: root/multimedia/aegisub
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/aegisub')
-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 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
diff --git a/multimedia/aegisub/aegisub.info b/multimedia/aegisub/aegisub.info
index f58532c5c9..d3f2998068 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"