File appimage.yml of Package doublecmd-gtk

app: doublecmd-gtk

build:
  packages:
    - libunrar
    - doublecmd-gtk

script:
  - install -d $BUILD_APPDIR/usr/lib64
  - install -d $BUILD_APPDIR/usr/share

  - cp -r /usr/lib64/doublecmd $BUILD_APPDIR/usr/lib64
  - cp -r /usr/share/doublecmd $BUILD_APPDIR/usr/share
  
  - install -d $BUILD_APPDIR/usr/bin
  - cp -a /usr/bin/doublecmd $BUILD_APPDIR/usr/bin/

  - install -d -m 755 $BUILD_APPDIR/usr/share/man/man1
  - install -c -m 644 /usr/share/man/man1/doublecmd.* $BUILD_APPDIR/usr/share/man/man1
  
  - install -d $BUILD_APPDIR/usr/share/icons/hicolor/scalable/apps
  - cp -a /usr/share/icons/hicolor/scalable/apps/doublecmd.svg $BUILD_APPDIR/usr/share/icons/hicolor/scalable/apps/
  
  - install -d $BUILD_APPDIR/usr/share/polkit-1/actions
  - install -m 644 /usr/share/polkit-1/actions/org.doublecmd.root.policy $BUILD_APPDIR/usr/share/polkit-1/actions/

  - cp /usr/share/pixmaps/doublecmd.png $BUILD_APPDIR
  - cp /usr/share/applications/doublecmd.desktop $BUILD_APPDIR
  
  - install -m 644 /usr/lib64/libunrar.so $BUILD_APPDIR/usr/lib64/libunrar.so
openSUSE Build Service is sponsored by