diff options
Diffstat (limited to 'simplenote-electron-arm-bin.install')
-rw-r--r-- | simplenote-electron-arm-bin.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/simplenote-electron-arm-bin.install b/simplenote-electron-arm-bin.install new file mode 100644 index 000000000000..020b7c7da089 --- /dev/null +++ b/simplenote-electron-arm-bin.install @@ -0,0 +1,20 @@ +### Vars ### +_pkgname=simplenote + +### Post Install ### +post_install() { + ## Symlink Files ## + ln -s \ + "$pkgdir"/opt/$_pkgname/${_pkgname}.desktop \ + "$pkgdir"/usr/share/applications/${_pkgname}.desktop + ln -s \ + "$pkgdir"/opt/$_pkgname/$_pkgname \ + "$pkgdir"/usr/bin/$_pkgname +} + +### Post Remove ### +post_remove() { + ## Remove Symlinks ## + rm "$pkgdir"/usr/share/applications/${_pkgname}.desktop + rm "$pkgdir"/usr/bin/$_pkgname +} |