Pkgfile 864 B

123456789101112131415161718192021
  1. # Description: Simple GUI application that writes compressed disk images to USB drives and creates backups
  2. # URL: https://bztsrc.gitlab.io/usbimager/
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: qt-sudo
  5. name=usbimager
  6. version=1.0.10
  7. release=2
  8. source=(https://gitlab.com/bztsrc/usbimager/raw/binaries/usbimager_1.0.10_wo_uf-x86_64-linux-x11.zip)
  9. build() {
  10. mkdir -p $PKG/usr/share
  11. sed -i 's|Exec=/usr/bin/usbimager|Exec=qt-sudo usbimager|' share/applications/usbimager.desktop
  12. install -Dm644 share/applications/usbimager.desktop $PKG/usr/share/applications/usbimager.desktop
  13. install -Dm644 share/man/man8/usbimager.8.gz $PKG/usr/share/man/man8//usbimager.8.gz
  14. mkdir -p $PKG/usr/share/icons/hicolor
  15. cp -r share/icons/hicolor/* $PKG/usr/share/icons/hicolor/
  16. mkdir -p $PKG/usr/bin
  17. install -Dm755 bin/usbimager $PKG/usr/bin
  18. }