template 551 B

12345678910111213141516171819202122232425262728
  1. # Template file for 'yadsu'
  2. pkgname=yadsu
  3. version=0.1
  4. revision=1
  5. _commit="44af30594b15896e20e9bdc1942c0d86be622620"
  6. hostmakedepends="git"
  7. depends="yad"
  8. short_desc="Simple gksu replacement using yad"
  9. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  10. license="MIT"
  11. homepage="https://git.maboxlinux.org/Mabox/yadsu"
  12. patch_args="-Np0"
  13. do_fetch() {
  14. git clone https://git.maboxlinux.org/Mabox/yadsu ${wrksrc}
  15. cd ${wrksrc}
  16. git checkout ${_commit}
  17. }
  18. do_install() {
  19. vbin yadsu
  20. ln -sf yadsu ${DESTDIR}/usr/bin/gksu
  21. }
  22. post_install() {
  23. vlicense LICENSE
  24. }