# Pastebin to0fUZYt name: unrar version: '0.1' summary: unrar description: | unrar grade: devel confinement: devmode parts: 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 $SNAPCRAFT_STAGE/unrar.patch build: | make make lib install: | make DESTDIR=$SNAPCRAFT_PART_INSTALL install make DESTDIR=$SNAPCRAFT_PART_INSTALL install-lib build-packages: - g++