Pkgfile 777 B

1234567891011121314151617181920212223
  1. # Description: Automounter for removable media.
  2. # URL: https://github.com/coldfix/udiskie
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: udisks2 python3-gobject python3-docopt gtk libnotify
  5. name=udiskie
  6. version=2.5.3
  7. release=3
  8. source=(https://github.com/coldfix/$name/archive/refs/tags/v$version.tar.gz 50-udiskie.rules README)
  9. build() {
  10. cd $name-$version
  11. python3 setup.py build
  12. python3 setup.py install --root=$PKG --optimize=1 --skip-build
  13. install -Dm644 COPYING "$PKG/usr/share/licenses/$name/LICENSE"
  14. install -dm755 "$PKG/usr/share/zsh/site-functions"
  15. install -m644 completions/zsh/* "$PKG/usr/share/zsh/site-functions"
  16. install -Dm755 $SRC/50-udiskie.rules $PKG/etc/polkit-1/rules.d/50-udiskie.rules
  17. rm -rf $PKG/usr/share/locale/
  18. }