Guest User

Untitled

a guest
Nov 7th, 2020
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 47e42ef..8c37a06 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,7 +1,7 @@
  6. # Maintainer: JP Cimalando <jp-dev@inbox.ru>
  7. pkgname=bambootracker-git
  8. _pkgname=bambootracker
  9. -pkgver=v0.1.6.r58.g72627b1
  10. +pkgver=v0.4.5.r0.gda3b65f
  11. pkgrel=1
  12. epoch=
  13. pkgdesc="YM2608 (OPNA) music tracker"
  14. @@ -39,9 +39,12 @@ build() {
  15. package() {
  16. cd "$_pkgname"
  17.  
  18. - install -D -m 644 BambooTracker.desktop "$pkgdir"/usr/share/applications/BambooTracker.desktop
  19. - install -D -m 644 BambooTracker/res/icon/icon_16x16.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/BambooTracker.png
  20. - install -D -m 644 BambooTracker/res/icon/icon_256x256.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/BambooTracker.png
  21. + install -D -m 644 data/applications/BambooTracker.desktop "$pkgdir"/usr/share/applications/BambooTracker.desktop
  22. +
  23. + icons=(16x16 32x32 64x64 128x128 256x256)
  24. + for i in ${icons[@]}; do
  25. + install -D -m 644 data/icons/$i/BambooTracker.png "$pkgdir"/usr/share/icons/hicolor/$i/apps/BambooTracker.png
  26. + done
  27.  
  28. cd "BambooTracker"
  29.  
  30. @@ -49,4 +52,8 @@ package() {
  31. qmake CONFIG+=release PREFIX=/usr
  32.  
  33. make INSTALL_ROOT="$pkgdir" install
  34. +
  35. + for i in ${icons[@]}; do
  36. + rm "$pkgdir"/usr/share/icons/hicolor/$i/BambooTracker.png
  37. + done
  38. }
  39.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×