appstream-data

June 2, 2021 ยท View on GitHub

Additional appstream data for Pop!_OS

Adding a Package

  • appstreamcli convert package.appdata.xml package.yaml converts AppData from xml to yaml format
  • The yaml frontmatter needs to be removed
  • Package: needs to match the debian package name
  • An Icon: section is needed to use an icon from this package
  • The yaml needs to be added in src/data, and the icon in src/icons

Building

Execute the build.sh script to re-generate the dest folder.

Once built, Debian packaging may be created with the debuild command.

Use dch to update the debian/changelog.

Testing

Execute these commands to test any changes:

kill $(pidof io.elementary.appcenter)
rm -r ./dest/*
yes | bash build.sh
debuild
cd
sudo dpkg -i appstream*.deb