aboutsummaryrefslogtreecommitdiff
path: root/multimedia/openshot/openshot.SlackBuild
diff options
context:
space:
mode:
authorJonathan Larsen <agentc0re@learnix.net>2010-03-22 02:50:57 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 14:27:21 +0200
commited5865e5160a0c095e34e5f691a87d6965376581 (patch)
tree1d80d3958a0f0c5e8fefae4ecdbe92db0959046e /multimedia/openshot/openshot.SlackBuild
parenta82b64be56607f5defdc868b83cff08d8d9d4fcc (diff)
multimedia/openshot: Updated for version 1.1.1.
Diffstat (limited to 'multimedia/openshot/openshot.SlackBuild')
-rw-r--r--multimedia/openshot/openshot.SlackBuild26
1 files changed, 22 insertions, 4 deletions
diff --git a/multimedia/openshot/openshot.SlackBuild b/multimedia/openshot/openshot.SlackBuild
index d454353249066..960ee48bc3e02 100644
--- a/multimedia/openshot/openshot.SlackBuild
+++ b/multimedia/openshot/openshot.SlackBuild
@@ -20,10 +20,19 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Jan 10, 2010 - Initial Creation
+#
+# Feb 14, 2010 - Fixed version info as openshot got rid of the "-1" at the end.
+# Also updated README to reflect the missing required DEP - pyxdg
+#
+# Mar 3rd, 2010
+# Upgraded script to version 1.1.1
+# fixed the "strip" for bash 4 compatability
+#
PRGNAM=openshot
-VERSION=1.0.0
-SRC=-1
+VERSION=1.1.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +60,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/${PRGNAM}_${VERSION}${SRC}.tar.gz || exit 1
-cd $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -62,6 +71,14 @@ find . \
python setup.py install --root=$PKG
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+)
+
+# mkdir -p $PKG/usr/man
mv $PKG/usr/share/man $PKG/usr/
rm -rf $PKG/usr/share/man
@@ -71,6 +88,7 @@ rm -rf $PKG/usr/share/man
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd $TMP/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild