Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
celestia
appimage.yml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File appimage.yml of Package celestia
app: celestia binpatch: true ingredients: packages: - at-spi2-atk-gtk2 - celestia - celestia-data - celestia-data-common - celestia-qt5 - celestia-textures-lores - celestia-textures-medres - gtk2-engine-murrine - libcanberra-gtk2-module - libqt5-qtstyleplugins-platformtheme-gtk2 - plasma5-integration-plugin script: - _version="$(grep "^Version:" $BUILD_SOURCE_DIR/celestia.spec | head -1 | awk -F' ' '{print $NF}')" - _comp_version="$(echo "$_version" | cut -d'~' -f1)~git" - _main_version="$(echo "$_version" | cut -d'.' -f-2)" - cd $BUILD_APPDIR - mv usr/bin/celestia{-qt5,} - install -D -m 0755 $BUILD_SOURCE_DIR/appimage.AppRun AppRun - sed -e "s/@COMP_VERSION@/$_comp_version/g;s/@MAIN_VERSION@/$_main_version/g" -i AppRun - install -D -m 0755 $BUILD_SOURCE_DIR/appimage.xdg-open usr/bin/xdg-open - mv usr/share/applications/space.celestiaproject.celestia{_qt5,}.desktop - sed -e "s/^\(GenericName.*\)/\1 (AppImage-$_comp_version)/g;s/-qt5//g" -i usr/share/applications/space.celestiaproject.celestia.desktop - mv usr/share/metainfo/space.celestiaproject.celestia{_qt5.metainfo,.appdata}.xml - sed -e 's/celestia_qt5/celestia/g;s/ (Qt5)//g' -i usr/share/metainfo/space.celestiaproject.celestia.appdata.xml - cp -p --remove-destination etc/celestia.cfg usr/share/celestia/ - cp -p --remove-destination usr/share/fonts/truetype/DejaVuSans{,-Bold}.ttf usr/share/celestia/fonts/ - if [ -s usr/share/zoneinfo/leap-seconds.list ] ; then cp -p --remove-destination usr/share/zoneinfo/leap-seconds.list usr/share/celestia/ ; fi - ln -s usr/share/applications/space.celestiaproject.celestia.desktop - ln -s usr/share/pixmaps/celestia.png - pushd usr/share/icu ; for f in $(ls */icu*dat) ; do ln -s $f ; done ; popd - rm -f usr/bin/*{perl,pkg-config}* - rm -rf sbin/* usr/sbin/* usr/lib/perl5/* - rm -rf usr/share/{alsa,doc,fonts,help,info,man,mime,misc,X11}/* - rm -rf var/cache/zypp/* var/lib/rpm/* - find usr/share/locale/ ! -name "*celestia*" -type f -delete - rpm -qi --changelog $(rpm -qa|grep -i celestia|sort) > .info - find .
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor