# Pastebin wqlPNJXA patches: plugin: dump source: patches prime: [-*] unrar: after: [patches] plugin: make source: http://www.rarlab.com/rar/unrarsrc-5.5.8.tar.gz prepare: | git apply --stat $SNAPCRAFT_STAGE/unrar.patch build: | make make lib install: | make DESTDIR=$SNAPCRAFT_PART_INSTALL install make DESTDIR=$SNAPCRAFT_PART_INSTALL install-lib