Commits

Lee Pak Hong  committed 9947462

Update chromium SlackBuild

Signed-off-by: Lee Pak Hong <hata.ph@gmail.com>

  • Participants
  • Parent commits e0a952c
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/chromium/src/chromium.SlackBuild

 #######################################################################
 
 # Creating the package
-cd out/Release/
+( cd out/Release/
   mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/chromium
   mkdir -p $PKG/usr/bin
   install -m 0755 -D chrome $PKG/usr/lib${LIBDIRSUFFIX}/chromium
   mkdir -p $PKG/usr/share/pixmaps
   cp product_logo_48.png $PKG/usr/share/pixmaps/chromium.png
   mkdir -p $PKG/usr/share/applications
-  install -m 0644 $CWD/chromium.desktop $PKG/usr/share/applications
-cd ../../
+  install -m 0644 $CWD/chromium.desktop $PKG/usr/share/applications )
 
-cd $PKG
+( cd $PKG
   ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chrome $PKG/usr/bin/chrome
-  ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chrome_sandbox $PKG/usr/bin/chrome_sandbox
+  ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chrome_sandbox $PKG/usr/bin/chrome_sandbox )
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a AUTHORS LICENSE $PKG/usr/doc/$NAME-$VERSION