File appimage.yml of Package diary
# https://docs.appimage.org/packaging-guide/hosted-services/opensuse-build-service.html#simple-example-building-from-source
app: diary
# resources required at build time
build:
packages:
# packages which get installed in the build enviroment.
# These are NOT part of the resulting image.
- gcc
- pkgconfig
- pkgconfig(ncurses)
- pkgconfig(libcurl)
- pkgconfig(libxml-2.0)
files:
- https://code.in0rdr.ch/diary/archive/diary-v0.16.tar.gz
ingredients:
# packages in the AppDir
packages:
- ncurses
- libcurl4
- libxml++
script:
- cp $BUILD_SOURCE_DIR/diary.desktop $BUILD_APPDIR
- cp /usr/share/pixmaps/appimage.png $BUILD_APPDIR
- cd $BUILD_SOURCE_DIR
- tar -xf v0.16.tar.gz && cd diary-v0.16
- make
- make DESTDIR=$BUILD_APPDIR PREFIX=/usr install