diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-10-30 11:50:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-31 23:34:55 +0700 |
commit | aaf5d009d8dbfe4b8edca7332088b1ffb4286204 (patch) | |
tree | 976171d67cb61a16935be7a080f61b5b65535ffa /network/opera-developer/opera-developer.SlackBuild | |
parent | 7768fe5227e4ead43d959b8de7d2c2d153d73302 (diff) |
network/opera-developer: Update README and script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opera-developer/opera-developer.SlackBuild')
-rw-r--r-- | network/opera-developer/opera-developer.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild index 31f0004750221..94a207aa940c0 100644 --- a/network/opera-developer/opera-developer.SlackBuild +++ b/network/opera-developer/opera-developer.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=opera-developer VERSION=${VERSION:-42.0.2392.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -88,11 +88,17 @@ elif [ "$ARCH" = "x86_64" ]; then chmod 4755 "$PKG/usr/lib64/$PRGNAM/opera_sandbox" fi +mkdir -p $PKG/etc/$PRGNAM/ +install -Dm644 $CWD/default $PKG/etc/$PRGNAM/default + +rm $PKG/usr/bin/$PRGNAM +install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM + mv $PKG/usr/share/doc $PKG/usr/ mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/${PRGNAM}-$VERSION cd $PKG/usr/doc/${PRGNAM}-$VERSION/ gzip -dc changelog.gz > ChangeLog; rm -f changelog.gz; -cp -a copyright LICENSE; rm -fv $PKG/usr/share/$PRGNAM/defaults/license.txt +install -Dm644 copyright $PKG/usr/share/licenses/$PRGNAM/copyright cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |