From dd97f472db0ae87cde8b88de27774f6b01efd9da Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 18 Apr 2014 22:51:24 -0500 Subject: multimedia/aegisub: Updated for version 3.1.3. Signed-off-by: Erik Hanson Signed-off-by: Willy Sudiarto Raharjo --- multimedia/aegisub/aegisub.SlackBuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'multimedia/aegisub/aegisub.SlackBuild') diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild index 15581d8c9d89e..0d3b186bd818b 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 -- cgit v1.2.3