yochananmarqos

stayawake-bin

Sep 23rd, 2020
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=stayawake-bin
  2. pkgver=0.5
  3. pkgrel=1
  4. pkgdesc="Advanced wakeup alarm system written in PyQt5"
  5. arch=('x86_64')
  6. url="https://github.com/PolyphasicDevTeam/stayawake"
  7. license=('GPL3')
  8. depends=('python-pynput' 'python-pyqt5' 'pulseaudio' 'mpg123')
  9. provides=("${pkgname%-bin}")
  10. conflicts=("${pkgname%-bin}")
  11. source=("$url/releases/download/$pkgver-beta/${pkgname%-bin}-$pkgver.tar.xz")
  12. sha256sums=('86019229ebc2b3f9ec98141f952f562b73a03d53a5cf4ddeffdea49be0316ba1')
  13.  
  14. package() {
  15.     install -Dm755 "${pkgname%-bin}" -t "$pkgdir/usr/bin"
  16.     install -Dm644 "${pkgname%-bin}.png" -t "$pkgdir/usr/share/pixmaps"
  17.     install -Dm644 StayAwake.desktop \
  18.         "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop"
  19.     install -Dm644 "${pkgname%-bin}.conf" -t "$pkgdir/etc"
  20. }
RAW Paste Data