PKGBUILD 724 B

123456789101112131415161718192021222324252627282930
  1. # Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
  2. pkgname=jls
  3. pkgver=0.3.5
  4. pkgrel=0
  5. epoch=0
  6. pkgdesc="A modern ls with java."
  7. arch=('any')
  8. url="https://github.com/anas-elgarhy/jls"
  9. license=('GPL3')
  10. groups=('java-utils')
  11. depends=('jdk17-openjdk' 'ttf-hack-nerd')
  12. makedepends=()
  13. checkdepends=()
  14. optdepends=()
  15. provides=(jls)
  16. conflicts=()
  17. replaces=(jls)
  18. backup=()
  19. options=()
  20. install=
  21. changelog=
  22. source=("https://github.com/anas-elgarhy/jls/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
  23. noextract=()
  24. sha256sums=('b36ae9cff855ed000d2949226c1d961882e8b1b8be11f44147a0fd64ff4b5939')
  25. validpgpkeys=()
  26. package() {
  27. sudo install -Dm644 ./jls.jar "/usr/share/java/jls/jls.jar"
  28. sudo install -Dm777 ./jls.sh "/bin/jls"
  29. }